Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001185/0.001185, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001177/0.001177, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.369/1.369, 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 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 60.12 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.774, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1771/0.9511, allocations: 161.4 MB / 1.366 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.9568, allocations: 4.55 MB / 1.37 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.9572, allocations: 11.94 kB / 1.37 GB, free: 7.039 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.9578, allocations: 123 kB / 1.371 GB, free: 6.918 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.9589, allocations: 338.4 kB / 1.371 GB, free: 6.586 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.9598, allocations: 278.7 kB / 1.371 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00076/0.9606, allocations: 0.5573 MB / 1.372 GB, free: 5.758 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.961, allocations: 201.2 kB / 1.372 GB, free: 5.559 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.9621, allocations: 470.2 kB / 1.372 GB, free: 5.098 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.9624, allocations: 183.3 kB / 1.373 GB, free: 4.918 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.9625, allocations: 16 kB / 1.373 GB, free: 4.902 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.9627, allocations: 87.86 kB / 1.373 GB, free: 4.816 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.9629, allocations: 91.72 kB / 1.373 GB, free: 4.727 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.963, allocations: 115.4 kB / 1.373 GB, free: 4.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.9634, allocations: 293 kB / 1.373 GB, free: 4.328 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9635, allocations: 0 / 1.373 GB, free: 4.328 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9635, allocations: 4 kB / 1.373 GB, free: 4.324 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.9635, allocations: 0 / 1.373 GB, free: 4.324 MB / 1.092 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.0009168/0.9644, allocations: 0.5372 MB / 1.374 GB, free: 3.738 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.9644, allocations: 12.03 kB / 1.374 GB, free: 3.727 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.9645, allocations: 31.66 kB / 1.374 GB, free: 3.695 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.9651, allocations: 283.4 kB / 1.374 GB, free: 3.379 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.9651, allocations: 12 kB / 1.374 GB, free: 3.367 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.9652, allocations: 16 kB / 1.374 GB, free: 3.352 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.9657, allocations: 273.6 kB / 1.374 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.9657, allocations: 3.938 kB / 1.374 GB, free: 3.043 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.9658, allocations: 15.94 kB / 1.374 GB, free: 3.027 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.9658, allocations: 4 kB / 1.374 GB, free: 3.023 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.9661, allocations: 147.8 kB / 1.374 GB, free: 2.879 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.9676, allocations: 1.371 MB / 1.376 GB, free: 1.418 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.968, allocations: 187.7 kB / 1.376 GB, free: 1.18 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.9682, allocations: 89.05 kB / 1.376 GB, free: 1.074 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/0.9686, allocations: 125 kB / 1.376 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.9686, allocations: 38.5 kB / 1.376 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.9686, allocations: 3.938 kB / 1.376 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006842/0.9693, allocations: 209.6 kB / 1.376 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.9694, allocations: 187.9 kB / 1.377 GB, free: 456 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.9697, allocations: 287 kB / 1.377 GB, free: 156 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.9698, allocations: 29.7 kB / 1.377 GB, free: 120 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.9699, allocations: 143.9 kB / 1.377 GB, free: 15.97 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.9699, allocations: 43.39 kB / 1.377 GB, free: 15.93 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.97, allocations: 37.83 kB / 1.377 GB, free: 15.88 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9701, allocations: 338.8 kB / 1.377 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.9703, allocations: 39.97 kB / 1.377 GB, free: 15.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.9705, allocations: 115.7 kB / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.9708, allocations: 158.7 kB / 1.378 GB, free: 15.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9708, allocations: 0 / 1.378 GB, free: 15.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003749/0.9712, allocations: 189.1 kB / 1.378 GB, free: 14.99 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9712, allocations: 11.94 kB / 1.378 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9712, allocations: 8.141 kB / 1.378 GB, free: 14.97 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9712, allocations: 8 kB / 1.378 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.9714, allocations: 27.98 kB / 1.378 GB, free: 14.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.9714, allocations: 4.312 kB / 1.378 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9716, allocations: 23.73 kB / 1.378 GB, free: 14.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.9716, allocations: 16 kB / 1.378 GB, free: 14.89 MB / 1.107 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.0001432/0.9718, allocations: 150.6 kB / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.9719, allocations: 27.66 kB / 1.378 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.9722, allocations: 135 kB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9722, allocations: 4 kB / 1.378 GB, free: 14.56 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9723, allocations: 0 / 1.378 GB, free: 14.56 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9723, allocations: 4 kB / 1.378 GB, free: 14.56 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/0.973, allocations: 0.769 MB / 1.379 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9731, allocations: 4 kB / 1.379 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.9732, allocations: 23.92 kB / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.9732, allocations: 4 kB / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9732, allocations: 0 / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.9732, allocations: 4 kB / 1.379 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9732, allocations: 0 / 1.379 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.9738, allocations: 347.5 kB / 1.379 GB, free: 13.31 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.9739, allocations: 108.9 kB / 1.379 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.9739, allocations: 12 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.974, allocations: 8 kB / 1.379 GB, free: 13.17 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.9741, allocations: 15.86 kB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.9741, allocations: 4 kB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001863/0.9743, allocations: 209.9 kB / 1.38 GB, free: 12.95 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9743, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000347/0.9747, allocations: 55.94 kB / 1.38 GB, free: 12.89 MB / 1.107 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.0003661/0.975, allocations: 142 kB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.9754, allocations: 123.8 kB / 1.38 GB, free: 12.63 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9754, allocations: 4.438 kB / 1.38 GB, free: 12.63 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.9756, allocations: 63.84 kB / 1.38 GB, free: 12.57 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.9763, allocations: 117 kB / 1.38 GB, free: 12.45 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.9772, allocations: 0.5137 MB / 1.381 GB, free: 11.89 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.9776, allocations: 0.7673 MB / 1.381 GB, free: 11.1 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.9776, allocations: 23.44 kB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/0.9776, allocations: 0 / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of Templates: time 0.006934/0.9846, allocations: 3.806 MB / 1.385 GB, free: 7.312 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches