Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00147/0.00147, allocations: 191 kB / 16.25 MB, free: 6.641 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002604, allocations: 67.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7491, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1996/0.9487, allocations: 159.2 MB / 1.172 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005906/0.9547, allocations: 4.518 MB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.9551, allocations: 7.938 kB / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.9557, allocations: 99.36 kB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.9566, allocations: 314.7 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.9574, allocations: 255.4 kB / 1.177 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.9581, allocations: 0.5533 MB / 1.178 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.9585, allocations: 205 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009861/0.9595, allocations: 450.3 kB / 1.178 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.9598, allocations: 203.2 kB / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.9598, allocations: 16 kB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.96, allocations: 79.94 kB / 1.179 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.9601, allocations: 95.7 kB / 1.179 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.9603, allocations: 111.4 kB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.9607, allocations: 291 kB / 1.179 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.9607, allocations: 8 kB / 1.179 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9607, allocations: 0 / 1.179 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.9607, allocations: 0 / 1.179 GB, free: 11.77 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008933/0.9616, allocations: 0.5256 MB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.9617, allocations: 16.03 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.9617, allocations: 27.66 kB / 1.18 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.9621, allocations: 271.4 kB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.9622, allocations: 12 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.9622, allocations: 20 kB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.9627, allocations: 261.8 kB / 1.18 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.9627, allocations: 3.984 kB / 1.18 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.9628, allocations: 11.94 kB / 1.18 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.9628, allocations: 4 kB / 1.18 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.9632, allocations: 143.8 kB / 1.18 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.9647, allocations: 1.375 MB / 1.182 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.965, allocations: 195.6 kB / 1.182 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.9652, allocations: 89.11 kB / 1.182 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/0.9656, allocations: 117.1 kB / 1.182 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.9657, allocations: 50.42 kB / 1.182 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.9657, allocations: 3.938 kB / 1.182 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006534/0.9663, allocations: 205.7 kB / 1.182 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.9665, allocations: 187.9 kB / 1.183 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.9668, allocations: 287 kB / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.9668, allocations: 33.7 kB / 1.183 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.967, allocations: 151.8 kB / 1.183 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.967, allocations: 31.55 kB / 1.183 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.9671, allocations: 41.77 kB / 1.183 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9672, allocations: 334.8 kB / 1.183 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.9674, allocations: 47.89 kB / 1.184 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.9676, allocations: 113.9 kB / 1.184 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.9679, allocations: 162.7 kB / 1.184 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9679, allocations: 0 / 1.184 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004051/0.9684, allocations: 185.2 kB / 1.184 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9684, allocations: 14.12 kB / 1.184 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9684, allocations: 8.203 kB / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9684, allocations: 4 kB / 1.184 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.9686, allocations: 27.98 kB / 1.184 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.9686, allocations: 7.938 kB / 1.184 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.9688, allocations: 23.83 kB / 1.184 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.9688, allocations: 8 kB / 1.184 GB, free: 6.383 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001621/0.969, allocations: 141.8 kB / 1.184 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.9691, allocations: 39.64 kB / 1.184 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.9695, allocations: 126.9 kB / 1.184 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.9695, allocations: 4 kB / 1.184 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9695, allocations: 384 / 1.184 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9695, allocations: 4 kB / 1.184 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009247/0.9704, allocations: 0.7768 MB / 1.185 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9705, allocations: 4 kB / 1.185 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.9706, allocations: 23.92 kB / 1.185 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.9706, allocations: 4 kB / 1.185 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.9706, allocations: 4 kB / 1.185 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9706, allocations: 7.938 kB / 1.185 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9706, allocations: 0 / 1.185 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.9712, allocations: 347.5 kB / 1.185 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.9714, allocations: 104.9 kB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.9714, allocations: 11.94 kB / 1.186 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.9716, allocations: 15.92 kB / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.9716, allocations: 15.92 kB / 1.186 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.9716, allocations: 4 kB / 1.186 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002261/0.9719, allocations: 209.9 kB / 1.186 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9719, allocations: 0 / 1.186 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003585/0.9723, allocations: 60 kB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0004231/0.9727, allocations: 134.5 kB / 1.186 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.9731, allocations: 132.1 kB / 1.186 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9731, allocations: 4.062 kB / 1.186 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.9732, allocations: 55.91 kB / 1.186 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/0.9741, allocations: 130.1 kB / 1.186 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009455/0.975, allocations: 0.5272 MB / 1.187 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.9754, allocations: 0.7636 MB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.9756, allocations: 46.27 kB / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.9757, allocations: 27.42 kB / 1.188 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.9757, allocations: 4 kB / 1.188 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of Templates: time 0.009754/0.9854, allocations: 4.146 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches