Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 112.6 kB / 16.37 MB, free: 6 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.001291/0.001291, allocations: 196 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437.1 MB / 0.7112 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.38 kB / 0.8707 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2874, allocations: 151.6 MB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6674/0.9548, allocations: 167.5 MB / 1.182 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.9621, allocations: 6.544 MB / 1.189 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.9626, allocations: 12.16 kB / 1.189 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.9632, allocations: 164.6 kB / 1.189 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.9653, allocations: 0.8482 MB / 1.19 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.9662, allocations: 323.8 kB / 1.19 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.967, allocations: 0.7173 MB / 1.191 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.9674, allocations: 275.1 kB / 1.191 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.9685, allocations: 0.5574 MB / 1.192 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.9689, allocations: 269.9 kB / 1.192 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.9689, allocations: 24 kB / 1.192 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.9696, allocations: 342.5 kB / 1.192 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.9697, allocations: 99.72 kB / 1.192 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.9699, allocations: 167 kB / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.9705, allocations: 470.4 kB / 1.193 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9705, allocations: 7.938 kB / 1.193 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9705, allocations: 0 / 1.193 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9705, allocations: 0 / 1.193 GB, free: 15.25 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007996/0.9713, allocations: 0.6079 MB / 1.194 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.9713, allocations: 8.094 kB / 1.194 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.9716, allocations: 70.84 kB / 1.194 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.9721, allocations: 328.9 kB / 1.194 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.9721, allocations: 18.22 kB / 1.194 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.9722, allocations: 26.12 kB / 1.194 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.9726, allocations: 321.6 kB / 1.194 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.9727, allocations: 0 / 1.194 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.9727, allocations: 10.5 kB / 1.194 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.9727, allocations: 7.812 kB / 1.194 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.9731, allocations: 201 kB / 1.194 GB, free: 14.02 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.001408/0.9745, allocations: 1.527 MB / 1.196 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.9748, allocations: 118.9 kB / 1.196 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.9749, allocations: 91.16 kB / 1.196 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.9755, allocations: 307.2 kB / 1.196 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.9755, allocations: 31.72 kB / 1.196 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.9756, allocations: 0 / 1.196 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007027/0.9763, allocations: 282.5 kB / 1.197 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.9763, allocations: 53.84 kB / 1.197 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.9766, allocations: 311.8 kB / 1.197 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.9766, allocations: 27.08 kB / 1.197 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.9767, allocations: 184.5 kB / 1.197 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.9768, allocations: 46.23 kB / 1.197 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.9769, allocations: 43.39 kB / 1.197 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.977, allocations: 337.7 kB / 1.198 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.9771, allocations: 62.14 kB / 1.198 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.9773, allocations: 111.6 kB / 1.198 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.9776, allocations: 181 kB / 1.198 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9776, allocations: 0 / 1.198 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000405/0.9781, allocations: 220.5 kB / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.9781, allocations: 5.5 kB / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9781, allocations: 5.328 kB / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9781, allocations: 2.719 kB / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.9783, allocations: 33.48 kB / 1.198 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.9783, allocations: 2.344 kB / 1.198 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.9785, allocations: 34.52 kB / 1.198 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.9785, allocations: 6.625 kB / 1.198 GB, free: 10.68 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 0.000132/0.9787, allocations: 157.2 kB / 1.198 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.9787, allocations: 28.66 kB / 1.199 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.9791, allocations: 207 kB / 1.199 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.9791, allocations: 2.812 kB / 1.199 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9792, allocations: 2.672 kB / 1.199 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9792, allocations: 7.984 kB / 1.199 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.9801, allocations: 0.6792 MB / 1.199 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9801, allocations: 2.75 kB / 1.199 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.9803, allocations: 34.27 kB / 1.199 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9803, allocations: 2.531 kB / 1.199 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.9803, allocations: 6.516 kB / 1.199 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.9803, allocations: 5.719 kB / 1.199 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9803, allocations: 3.125 kB / 1.199 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.9807, allocations: 339.4 kB / 1.2 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.9809, allocations: 120 kB / 1.2 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.9809, allocations: 7 kB / 1.2 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.9811, allocations: 12.64 kB / 1.2 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.9811, allocations: 15.78 kB / 1.2 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.9812, allocations: 4.344 kB / 1.2 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002105/0.9814, allocations: 224.5 kB / 1.2 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9814, allocations: 0 / 1.2 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003852/0.9818, allocations: 77.47 kB / 1.2 GB, free: 9.203 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0003485/0.9821, allocations: 149.5 kB / 1.2 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.9825, allocations: 163.5 kB / 1.201 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9825, allocations: 0 / 1.201 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.9827, allocations: 85.19 kB / 1.201 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.9835, allocations: 156.7 kB / 1.201 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.9843, allocations: 0.5258 MB / 1.201 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.9846, allocations: 0.7881 MB / 1.202 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.9848, allocations: 61.95 kB / 1.202 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.12e-05/0.9848, allocations: 30.61 kB / 1.202 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.9849, allocations: 0 / 1.202 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of Templates: time 0.009433/0.9943, allocations: 5.124 MB / 1.207 GB, free: 5.199 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches