Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.001396/0.001397, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001483/0.001483, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.378/2.378, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6694, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005272/0.6747, allocations: 4.032 MB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.675, allocations: 159.5 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.675, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.836e-05/0.6751, allocations: 3.938 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.6752, allocations: 7.984 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.6755, allocations: 88.88 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.6756, allocations: 39.78 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.6757, allocations: 4 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.6757, allocations: 19.97 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.6758, allocations: 4 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.6758, allocations: 4 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.676, allocations: 59.8 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.676, allocations: 11.92 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.6761, allocations: 8 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.6762, allocations: 39.41 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6762, allocations: 4 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6762, allocations: 0 / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.6762, allocations: 0 / 1.172 GB, free: 15.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003692/0.6766, allocations: 336.4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6767, allocations: 8.922 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.6767, allocations: 4.922 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6768, allocations: 176.3 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.6769, allocations: 26.27 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6769, allocations: 384 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.677, allocations: 45.62 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.677, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.677, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.6771, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.6771, allocations: 15.98 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.6775, allocations: 341.9 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.176e-05/0.6776, allocations: 22.52 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.6776, allocations: 8.859 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.6777, allocations: 89.16 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.6777, allocations: 38.56 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.6777, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.6779, allocations: 33.64 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.6779, allocations: 51.41 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.678, allocations: 105.8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.678, allocations: 25.7 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.6781, allocations: 88.22 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.6781, allocations: 0 / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.6781, allocations: 25.66 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6782, allocations: 318.8 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.6783, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.6783, allocations: 17.72 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.6783, allocations: 29.64 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6783, allocations: 3.938 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.78e-05/0.6784, allocations: 45.69 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6785, allocations: 8 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6785, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6785, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.6785, allocations: 4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6785, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.6786, allocations: 7.938 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.6786, allocations: 4.062 kB / 1.173 GB, free: 13.25 MB / 0.9044 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.483e-05/0.6787, allocations: 121.7 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.6787, allocations: 0 / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.6788, allocations: 117 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-05/0.6789, allocations: 180.2 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/0.6789, allocations: 101 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.679, allocations: 190.1 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/0.6791, allocations: 184.2 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.6792, allocations: 112.9 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.6793, allocations: 184.2 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.663e-05/0.6794, allocations: 255.8 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001685/0.6796, allocations: 387 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.082e-05/0.6796, allocations: 109 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.6797, allocations: 87.27 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/0.6797, allocations: 0 / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.6801, allocations: 114.3 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005193/0.6807, allocations: 0.8522 MB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.002506/0.6832, allocations: 0.5452 MB / 1.177 GB, free: 9.582 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches