Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002522, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009183/0.001651, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9335/0.9335, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07782/1.011, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.799/1.799, allocations: 378.2 MB / 0.6076 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4759/2.275, allocations: 123.3 MB / 0.728 GB, free: 5.871 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.7e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1911/0.1911, allocations: 146.8 MB / 0.8727 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1931, allocations: 1.444 MB / 0.8741 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1933, allocations: 19.88 kB / 0.8741 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1937, allocations: 131 kB / 0.8743 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.1944, allocations: 0.5128 MB / 0.8748 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.195, allocations: 387 kB / 0.8751 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.1956, allocations: 0.8415 MB / 0.876 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.1959, allocations: 220.5 kB / 0.8762 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1963, allocations: 449 kB / 0.8766 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1965, allocations: 227.3 kB / 0.8768 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1965, allocations: 31.94 kB / 0.8768 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1969, allocations: 311.2 kB / 0.8771 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.197, allocations: 115.6 kB / 0.8772 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.1971, allocations: 115.8 kB / 0.8774 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1975, allocations: 434.5 kB / 0.8778 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.1975, allocations: 4 kB / 0.8778 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1975, allocations: 0 / 0.8778 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.1975, allocations: 0 / 0.8778 GB, free: 12.23 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009277/0.1985, allocations: 0.7888 MB / 0.8785 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1985, allocations: 8.031 kB / 0.8786 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005066/0.199, allocations: 212.3 kB / 0.8788 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1993, allocations: 302.2 kB / 0.879 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1993, allocations: 24.59 kB / 0.8791 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.1993, allocations: 31.98 kB / 0.8791 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1996, allocations: 262.3 kB / 0.8794 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1996, allocations: 7.984 kB / 0.8794 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.1996, allocations: 15.98 kB / 0.8794 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.1997, allocations: 16.64 kB / 0.8794 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1998, allocations: 117.9 kB / 0.8795 GB, free: 10.37 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.2006, allocations: 0.9785 MB / 0.8805 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.2009, allocations: 134.9 kB / 0.8806 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.201, allocations: 49.73 kB / 0.8806 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2011, allocations: 43.95 kB / 0.8807 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2012, allocations: 38.55 kB / 0.8807 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.2012, allocations: 0 / 0.8807 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002601/0.2014, allocations: 153.5 kB / 0.8809 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.2014, allocations: 51.41 kB / 0.8809 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2016, allocations: 254.9 kB / 0.8812 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2016, allocations: 33.7 kB / 0.8812 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.2017, allocations: 176.9 kB / 0.8814 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.2017, allocations: 79.3 kB / 0.8814 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.2017, allocations: 45.69 kB / 0.8815 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.2018, allocations: 342.8 kB / 0.8818 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.2019, allocations: 26.81 kB / 0.8818 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.2019, allocations: 158.1 kB / 0.882 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.202, allocations: 129.3 kB / 0.8821 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2021, allocations: 3.938 kB / 0.8821 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001421/0.2022, allocations: 141.8 kB / 0.8822 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2022, allocations: 8 kB / 0.8822 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2022, allocations: 0 / 0.8822 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2022, allocations: 4 kB / 0.8822 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2024, allocations: 51.97 kB / 0.8823 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2024, allocations: 7.938 kB / 0.8823 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.2024, allocations: 31.77 kB / 0.8823 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2025, allocations: 4 kB / 0.8823 GB, free: 7.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.2025, allocations: 124.9 kB / 0.8825 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.2026, allocations: 23.97 kB / 0.8825 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.2027, allocations: 135.8 kB / 0.8826 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2027, allocations: 7.984 kB / 0.8826 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.2027, allocations: 0 / 0.8826 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2027, allocations: 3.938 kB / 0.8826 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.2032, allocations: 0.5922 MB / 0.8832 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2032, allocations: 7.984 kB / 0.8832 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.2033, allocations: 39.97 kB / 0.8832 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.2033, allocations: 51.7 kB / 0.8833 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2033, allocations: 4 kB / 0.8833 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2034, allocations: 11.98 kB / 0.8833 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2034, allocations: 4.344 kB / 0.8833 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2034, allocations: 7.938 kB / 0.8833 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.2036, allocations: 360 kB / 0.8837 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.2036, allocations: 8 kB / 0.8837 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.2037, allocations: 12 kB / 0.8837 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.2037, allocations: 19.91 kB / 0.8837 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2037, allocations: 15.94 kB / 0.8837 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.2038, allocations: 84.64 kB / 0.8838 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.2038, allocations: 0 / 0.8838 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002222/0.204, allocations: 111.8 kB / 0.8839 GB, free: 5.508 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.2041, allocations: 116.2 kB / 0.884 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.2043, allocations: 110.5 kB / 0.8841 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.2043, allocations: 8.359 kB / 0.8841 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.2044, allocations: 60.66 kB / 0.8842 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2048, allocations: 173.3 kB / 0.8844 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2074, allocations: 0.626 MB / 0.885 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.2074, allocations: 112.5 kB / 0.8851 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.2075, allocations: 46.95 kB / 0.8851 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2077, allocations: 145.2 kB / 0.8853 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.2077, allocations: 4 kB / 0.8853 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of Templates: time 0.007883/0.2156, allocations: 6.242 MB / 0.8914 GB, free: 13.95 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113467541523278]