Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001101, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.00104/0.00104, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.83 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7394, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004132/0.7436, allocations: 3.291 MB / 1.171 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 9.162e-05/0.7437, allocations: 51.8 kB / 1.171 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.7437, allocations: 0 / 1.171 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.427e-05/0.7438, allocations: 7.984 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.7439, allocations: 3.938 kB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.7444, allocations: 196.7 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.7445, allocations: 35.86 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.7445, allocations: 3.984 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.7445, allocations: 15.98 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.7446, allocations: 11.94 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.7446, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.745, allocations: 179.5 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.745, allocations: 7.984 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.745, allocations: 7.938 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.7453, allocations: 143.5 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7453, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7453, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.7453, allocations: 0 / 1.171 GB, free: 15.96 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.0003857/0.7457, allocations: 341.4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7458, allocations: 8.922 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.7458, allocations: 12.78 kB / 1.172 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.746, allocations: 168.4 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.7461, allocations: 26.27 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.7461, allocations: 384 / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.7462, allocations: 53.56 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.7462, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.7462, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.7462, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.7463, allocations: 15.98 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.7469, allocations: 0.5833 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 2.983e-05/0.7469, allocations: 14.58 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.747, allocations: 8.922 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.7472, allocations: 352.3 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.7472, allocations: 30.56 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.7472, allocations: 4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.7474, allocations: 33.7 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.7474, allocations: 51.41 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.7475, allocations: 109.8 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.7475, allocations: 25.7 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.7476, allocations: 88.05 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.7476, allocations: 7.891 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.7476, allocations: 17.7 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.7477, allocations: 318.9 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.7477, allocations: 11.94 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.7478, allocations: 21.64 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.7478, allocations: 21.72 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7478, allocations: 0 / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.652e-05/0.7479, allocations: 49.69 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7479, allocations: 8 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7479, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7479, allocations: 7.938 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.094e-05/0.748, allocations: 4 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.748, allocations: 0 / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.748, allocations: 0 / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.748, allocations: 4 kB / 1.173 GB, free: 13.21 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 6.316e-05/0.7481, allocations: 109.8 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.7481, allocations: 7.984 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.7483, allocations: 120.9 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/0.7483, allocations: 180.3 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/0.7484, allocations: 108.9 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.7484, allocations: 186 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.7485, allocations: 180.3 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.7487, allocations: 112.9 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.7487, allocations: 188.2 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.885e-05/0.7488, allocations: 255.5 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001657/0.749, allocations: 383.2 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.75e-05/0.749, allocations: 109 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.7491, allocations: 87.28 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of Backend: time 2.6e-07/0.7491, allocations: 0 / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.7496, allocations: 156.8 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005041/0.7501, allocations: 0.8483 MB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.003182/0.7533, allocations: 1.113 MB / 1.177 GB, free: 8.984 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches