Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 105.3 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.001012/0.001012, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.91 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6613, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005509/0.6668, allocations: 4.033 MB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001963/0.667, allocations: 151.5 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.6671, allocations: 0 / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.293e-05/0.6672, allocations: 3.938 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.6673, allocations: 11.97 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.6676, allocations: 91.62 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.67e-05/0.6677, allocations: 27.86 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.6677, allocations: 7.984 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.6678, allocations: 15.98 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.6678, allocations: 4 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.6679, allocations: 0 / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.6681, allocations: 67.73 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.6681, allocations: 7.984 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.6682, allocations: 12 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.6683, allocations: 39.89 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6683, allocations: 4 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6683, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6684, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000388/0.6687, allocations: 335.3 kB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6688, allocations: 8.625 kB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.6688, allocations: 0.9375 kB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.669, allocations: 172.3 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.669, allocations: 34.27 kB / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.669, allocations: 384 / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.6692, allocations: 45.62 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6692, allocations: 0 / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.6692, allocations: 0 / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6692, allocations: 0 / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.6693, allocations: 15.98 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.6697, allocations: 338 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.224e-05/0.6698, allocations: 26.52 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.6698, allocations: 12.8 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.6699, allocations: 81.17 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.6699, allocations: 38.55 kB / 1.226 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.6699, allocations: 0 / 1.226 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.6701, allocations: 41.55 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.6701, allocations: 55.53 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.6702, allocations: 109.8 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.6702, allocations: 25.7 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.6702, allocations: 89.81 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.6703, allocations: 0 / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.6703, allocations: 17.72 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.6704, allocations: 322.8 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.6704, allocations: 0 / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.6704, allocations: 17.72 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.6705, allocations: 21.72 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6705, allocations: 0 / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.659e-05/0.6706, allocations: 49.62 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6706, allocations: 8 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6706, allocations: 4 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.6706, allocations: 4.062 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.6707, allocations: 7.984 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6707, allocations: 0 / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.6707, allocations: 7.938 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.6707, allocations: 3.938 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.057e-05/0.6708, allocations: 113.8 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.6708, allocations: 7.906 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.846e-05/0.6709, allocations: 121 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/0.671, allocations: 180.2 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.671, allocations: 101 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.6711, allocations: 178.1 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.6712, allocations: 192.2 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.6713, allocations: 104.9 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.6714, allocations: 188.2 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.751e-05/0.6715, allocations: 259.5 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001531/0.6717, allocations: 379 kB / 1.229 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.657e-05/0.6717, allocations: 105 kB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.6718, allocations: 91.27 kB / 1.229 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of Backend: time 4.41e-07/0.6718, allocations: 0 / 1.229 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.6722, allocations: 102.3 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005089/0.6727, allocations: 0.8602 MB / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of Templates: time 0.002471/0.6752, allocations: 0.5522 MB / 1.23 GB, free: 8.105 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches