Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.513/2.513, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.53 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.5676/0.9185, allocations: 30.05 MB / 1.094 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.9361, allocations: 11.72 MB / 1.105 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.9388, allocations: 52.12 kB / 1.105 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009407/0.9483, allocations: 3.919 MB / 1.109 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.9535, allocations: 1.514 MB / 1.11 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.9582, allocations: 1.406 MB / 1.112 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.97, allocations: 6.609 MB / 1.118 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.9728, allocations: 1.375 MB / 1.12 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.9772, allocations: 1.447 MB / 1.121 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.9797, allocations: 1.081 MB / 1.122 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.9801, allocations: 122.8 kB / 1.122 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.9837, allocations: 1.299 MB / 1.123 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007414/0.9845, allocations: 0.521 MB / 1.124 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.9861, allocations: 0.9586 MB / 1.125 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.9918, allocations: 2.973 MB / 1.128 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9919, allocations: 1.062 kB / 1.128 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9919, allocations: 4 kB / 1.128 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.62e-05/0.9919, allocations: 0 / 1.128 GB, free: 5.457 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005093/0.997, allocations: 2.347 MB / 1.13 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.9971, allocations: 14.09 kB / 1.13 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.9991, allocations: 384.2 kB / 1.13 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/1.004, allocations: 2.295 MB / 1.133 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/1.004, allocations: 70.06 kB / 1.133 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.004, allocations: 88 kB / 1.133 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.006, allocations: 1.01 MB / 1.134 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.006, allocations: 5.891 kB / 1.134 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/1.006, allocations: 32.25 kB / 1.134 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/1.006, allocations: 19.53 kB / 1.134 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/1.008, allocations: 0.7542 MB / 1.135 GB, free: 1.785 MB / 0.8575 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.007684/1.016, allocations: 5.273 MB / 1.14 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.017, allocations: 0.5665 MB / 1.14 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/1.018, allocations: 330.4 kB / 1.141 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/1.021, allocations: 1.651 MB / 1.142 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007518/1.022, allocations: 329.8 kB / 1.143 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000509/1.022, allocations: 62.42 kB / 1.143 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/1.022, allocations: 0 / 1.143 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.003464/1.026, allocations: 1.24 MB / 1.144 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/1.026, allocations: 59.56 kB / 1.144 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/1.028, allocations: 1.86 MB / 1.146 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.028, allocations: 39.2 kB / 1.146 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/1.029, allocations: 0.7747 MB / 1.146 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.029, allocations: 156 kB / 1.147 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/1.03, allocations: 269.7 kB / 1.147 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.03, allocations: 354.8 kB / 1.147 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/1.031, allocations: 462.3 kB / 1.148 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.032, allocations: 0.8351 MB / 1.148 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/1.034, allocations: 1.172 MB / 1.15 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.034, allocations: 5.781 kB / 1.15 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003405/1.037, allocations: 1.596 MB / 1.151 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/1.037, allocations: 35.27 kB / 1.151 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.037, allocations: 9.25 kB / 1.151 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/1.038, allocations: 186.1 kB / 1.151 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/1.039, allocations: 201 kB / 1.152 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/1.04, allocations: 0.7645 MB / 1.152 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.041, allocations: 73.59 kB / 1.152 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.042, allocations: 47.98 kB / 1.152 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/1.043, allocations: 0.8589 MB / 1.153 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/1.044, allocations: 0.8193 MB / 1.154 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001844/1.046, allocations: 1.141 MB / 1.155 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-05/1.046, allocations: 2.5 kB / 1.155 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003319/1.05, allocations: 1.59 MB / 1.157 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/1.05, allocations: 34.95 kB / 1.157 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.05, allocations: 11.86 kB / 1.157 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/1.05, allocations: 105.2 kB / 1.157 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/1.051, allocations: 194.6 kB / 1.157 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/1.053, allocations: 2.363 MB / 1.159 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.055, allocations: 82.23 kB / 1.159 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.055, allocations: 46.36 kB / 1.16 GB, free: 0.582 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004362/1.056, allocations: 243.5 kB / 1.16 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/1.056, allocations: 165 kB / 1.16 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/1.059, allocations: 0.9018 MB / 1.161 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.059, allocations: 8.906 kB / 1.161 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.059, allocations: 0 / 1.161 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/1.06, allocations: 0.8954 MB / 1.162 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/1.065, allocations: 2.009 MB / 1.164 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.066, allocations: 0 / 1.164 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/1.066, allocations: 86.77 kB / 1.164 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/1.066, allocations: 124.1 kB / 1.164 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/1.066, allocations: 13.08 kB / 1.164 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/1.067, allocations: 0.749 MB / 1.165 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.067, allocations: 1.5 kB / 1.165 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/1.07, allocations: 1.247 MB / 1.166 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/1.071, allocations: 312.4 kB / 1.166 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00052/1.072, allocations: 11.19 kB / 1.166 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/1.073, allocations: 42.66 kB / 1.166 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.073, allocations: 45.17 kB / 1.166 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/1.073, allocations: 20.88 kB / 1.166 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002523/1.075, allocations: 1.256 MB / 1.167 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.075, allocations: 1.375 kB / 1.167 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003685/1.079, allocations: 0.8081 MB / 1.168 GB, free: 11.11 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/1.081, allocations: 0.5126 MB / 1.169 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004057/1.085, allocations: 1.925 MB / 1.171 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.085, allocations: 0 / 1.171 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008419/1.086, allocations: 335.8 kB / 1.171 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/1.09, allocations: 0.8009 MB / 1.172 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/1.097, allocations: 3.113 MB / 1.175 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/1.099, allocations: 1.432 MB / 1.176 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/1.099, allocations: 143.4 kB / 1.176 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/1.099, allocations: 0 / 1.176 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of Templates: time 0.05936/1.159, allocations: 36.71 MB / 1.212 GB, free: 284 kB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches