Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00138/0.00138, allocations: 119.8 kB / 16.42 MB, free: 6.496 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.001335/0.001335, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 59.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.78/0.7817, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_dp.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02977/0.8116, allocations: 29.63 MB / 1.118 GB, free: 328 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.827, allocations: 9.917 MB / 1.127 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.8293, allocations: 45.88 kB / 1.127 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.8318, allocations: 0.6823 MB / 1.128 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.8371, allocations: 1.494 MB / 1.129 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.8412, allocations: 1.403 MB / 1.131 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006252/0.8474, allocations: 3.833 MB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.8501, allocations: 1.361 MB / 1.136 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.8542, allocations: 1.514 MB / 1.137 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.8565, allocations: 1.04 MB / 1.138 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006138/0.8571, allocations: 122.8 kB / 1.138 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.8609, allocations: 1.137 MB / 1.14 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.8617, allocations: 397.7 kB / 1.14 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.8638, allocations: 0.7888 MB / 1.141 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.8693, allocations: 2.451 MB / 1.143 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8693, allocations: 0 / 1.143 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8693, allocations: 1.156 kB / 1.143 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.989e-05/0.8694, allocations: 0 / 1.143 GB, free: 1.883 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004157/0.8735, allocations: 1.934 MB / 1.145 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8736, allocations: 8.406 kB / 1.145 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.8755, allocations: 344.6 kB / 1.145 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.8786, allocations: 1.373 MB / 1.147 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.8786, allocations: 65.28 kB / 1.147 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.8788, allocations: 86.05 kB / 1.147 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.8808, allocations: 1.001 MB / 1.148 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.8808, allocations: 2.344 kB / 1.148 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.8809, allocations: 36 kB / 1.148 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.8809, allocations: 18.72 kB / 1.148 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.8826, allocations: 0.7484 MB / 1.149 GB, free: 14.95 MB / 0.9044 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.006368/0.889, allocations: 4.901 MB / 1.153 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.8904, allocations: 0.5899 MB / 1.154 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.8912, allocations: 331 kB / 1.154 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002628/0.8938, allocations: 1.603 MB / 1.156 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008616/0.8947, allocations: 356.3 kB / 1.156 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004572/0.8951, allocations: 45.98 kB / 1.156 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 4.929e-06/0.8952, allocations: 3.984 kB / 1.156 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.003448/0.8986, allocations: 1.235 MB / 1.157 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.8987, allocations: 57.81 kB / 1.157 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.9007, allocations: 1.286 MB / 1.159 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-05/0.9008, allocations: 43.3 kB / 1.159 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.9014, allocations: 0.6448 MB / 1.159 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.9016, allocations: 153.5 kB / 1.16 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.9019, allocations: 157.1 kB / 1.16 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.902, allocations: 336.5 kB / 1.16 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/0.9027, allocations: 293.6 kB / 1.16 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009425/0.9036, allocations: 0.6124 MB / 1.161 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.9052, allocations: 0.8475 MB / 1.162 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.9052, allocations: 6.094 kB / 1.162 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002736/0.908, allocations: 1.126 MB / 1.163 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.908, allocations: 42.64 kB / 1.163 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.9081, allocations: 8.906 kB / 1.163 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006444/0.9087, allocations: 183 kB / 1.163 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.9093, allocations: 157.8 kB / 1.163 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007609/0.9101, allocations: 0.7641 MB / 1.164 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.9112, allocations: 61.33 kB / 1.164 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-05/0.9113, allocations: 37.7 kB / 1.164 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0013/0.9126, allocations: 0.5735 MB / 1.165 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008812/0.9135, allocations: 0.5801 MB / 1.165 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001326/0.9149, allocations: 0.7834 MB / 1.166 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.9149, allocations: 1.969 kB / 1.166 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002274/0.9172, allocations: 1.106 MB / 1.167 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.9172, allocations: 40.98 kB / 1.167 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.9172, allocations: 11.3 kB / 1.167 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.9175, allocations: 102.5 kB / 1.167 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.918, allocations: 142.9 kB / 1.167 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.9203, allocations: 2.357 MB / 1.17 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.9213, allocations: 51.34 kB / 1.17 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.9214, allocations: 39.73 kB / 1.17 GB, free: 188 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0003471/0.9217, allocations: 232.3 kB / 1.17 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.9221, allocations: 127.6 kB / 1.17 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.9243, allocations: 0.9185 MB / 1.171 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/0.9259, allocations: 0.92 MB / 1.172 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9259, allocations: 0 / 1.172 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/0.9265, allocations: 257.8 kB / 1.172 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.9269, allocations: 6.875 kB / 1.172 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/0.9276, allocations: 35.66 kB / 1.172 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.9277, allocations: 51.02 kB / 1.172 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002052/0.9298, allocations: 0.8497 MB / 1.173 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002303/0.9321, allocations: 1.185 MB / 1.174 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006392/0.9328, allocations: 286.6 kB / 1.174 GB, free: 13.12 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001636/0.9344, allocations: 0.8866 MB / 1.175 GB, free: 12.64 MB / 0.92 GB Notification: Performance of Backend: time 1.714e-06/0.9344, allocations: 112 / 1.175 GB, free: 12.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005243/0.9397, allocations: 1.571 MB / 1.177 GB, free: 11.74 MB / 0.92 GB Notification: Performance of SimCode: time 0.007559/0.9473, allocations: 3.169 MB / 1.18 GB, free: 9.73 MB / 0.92 GB Notification: Performance of Templates: time 0.04877/0.9961, allocations: 28.52 MB / 1.208 GB, free: 2.746 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches