Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001272/0.001272, allocations: 104 kB / 16.35 MB, free: 5.875 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.001468/0.001468, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65.23 kB / 0.814 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2569, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006639/0.2636, allocations: 3.282 MB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.2638, allocations: 59.78 kB / 0.9544 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.2638, allocations: 4 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.2639, allocations: 4 kB / 0.9544 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2641, allocations: 7.922 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.2648, allocations: 191.1 kB / 0.9546 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.2649, allocations: 31.86 kB / 0.9546 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.2649, allocations: 11.98 kB / 0.9546 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.265, allocations: 11.94 kB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.2651, allocations: 11.98 kB / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2651, allocations: 0 / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.2655, allocations: 175.5 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.2656, allocations: 11.94 kB / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.2656, allocations: 7.984 kB / 0.9548 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.266, allocations: 143.6 kB / 0.955 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.266, allocations: 0 / 0.955 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.266, allocations: 0 / 0.955 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.266, allocations: 4 kB / 0.955 GB, free: 4.098 MB / 0.7325 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.0004424/0.2664, allocations: 347.4 kB / 0.9553 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2665, allocations: 12.03 kB / 0.9553 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.2665, allocations: 0.9375 kB / 0.9553 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2667, allocations: 164.4 kB / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.2668, allocations: 30.27 kB / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.2668, allocations: 384 / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2669, allocations: 45.62 kB / 0.9555 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.267, allocations: 4 kB / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.267, allocations: 4 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.267, allocations: 3.938 kB / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.2671, allocations: 15.92 kB / 0.9556 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.2678, allocations: 0.591 MB / 0.9561 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.2678, allocations: 14.58 kB / 0.9562 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.2679, allocations: 8.859 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.2681, allocations: 344.5 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2682, allocations: 34.56 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.2682, allocations: 0 / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.2683, allocations: 41.62 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2684, allocations: 51.41 kB / 0.9566 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.2685, allocations: 101.8 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2685, allocations: 29.83 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.2686, allocations: 92.03 kB / 0.9568 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.2686, allocations: 0 / 0.9568 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.2686, allocations: 17.72 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2687, allocations: 318.8 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.2688, allocations: 4 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.2688, allocations: 17.91 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.2688, allocations: 21.66 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2688, allocations: 0 / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.41e-05/0.2689, allocations: 53.72 kB / 0.9572 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.269, allocations: 4 kB / 0.9572 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.269, allocations: 3.984 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.269, allocations: 0 / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.269, allocations: 11.98 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2691, allocations: 0 / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.2691, allocations: 11.91 kB / 0.9573 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.2691, allocations: 0 / 0.9573 GB, free: 1.348 MB / 0.7325 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 8.482e-05/0.2692, allocations: 117.8 kB / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2692, allocations: 0 / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2694, allocations: 123.6 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/0.2694, allocations: 180.3 kB / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-05/0.2695, allocations: 184.3 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/0.2696, allocations: 180.2 kB / 0.958 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.2698, allocations: 409.2 kB / 0.9584 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/0.2699, allocations: 109 kB / 0.9585 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.2699, allocations: 109 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.27, allocations: 176.3 kB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.27, allocations: 188.2 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.145e-05/0.2701, allocations: 176.3 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.9e-05/0.2702, allocations: 180.2 kB / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.2703, allocations: 311.8 kB / 0.9596 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.2704, allocations: 194 kB / 0.9598 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.2705, allocations: 176.3 kB / 0.96 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2706, allocations: 116.9 kB / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.2707, allocations: 176.3 kB / 0.9602 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.2708, allocations: 101 kB / 0.9603 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.2708, allocations: 91.2 kB / 0.9604 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2708, allocations: 4 kB / 0.9604 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002977/0.2711, allocations: 36 kB / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002806/0.2714, allocations: 234.4 kB / 0.9607 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.2715, allocations: 15.98 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2715, allocations: 0 / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.2715, allocations: 0 / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.272, allocations: 457.9 kB / 0.9611 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.2723, allocations: 193.8 kB / 0.9613 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2725, allocations: 0.669 MB / 0.962 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.513e-05/0.2726, allocations: 7.984 kB / 0.962 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.2726, allocations: 11.44 kB / 0.962 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2726, allocations: 0 / 0.962 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of Templates: time 0.003871/0.2765, allocations: 1.195 MB / 0.9632 GB, free: 11.08 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches