Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001665/0.001665, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.25 kB / 0.8132 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2582, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005795/0.2641, allocations: 3.729 MB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.2643, allocations: 163.5 kB / 0.9541 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.2644, allocations: 0 / 0.9541 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.259e-05/0.2645, allocations: 3.984 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.2646, allocations: 11.94 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.2649, allocations: 87.56 kB / 0.9542 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.2651, allocations: 31.91 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.2651, allocations: 3.984 kB / 0.9542 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.2652, allocations: 15.94 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.2652, allocations: 19.91 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2653, allocations: 0 / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.2659, allocations: 183.4 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.2659, allocations: 11.97 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.2659, allocations: 8 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.2661, allocations: 44.11 kB / 0.9545 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2661, allocations: 8 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2661, allocations: 0 / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2661, allocations: 0 / 0.9545 GB, free: 4.551 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.0003883/0.2665, allocations: 323.6 kB / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2665, allocations: 12.03 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.2666, allocations: 4.938 kB / 0.9548 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2667, allocations: 168.3 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.2668, allocations: 34.2 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2668, allocations: 4.375 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.267, allocations: 41.62 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.267, allocations: 0 / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.267, allocations: 4 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.267, allocations: 0 / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.2671, allocations: 15.98 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.2676, allocations: 338 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.2676, allocations: 30.52 kB / 0.9554 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.2677, allocations: 12.8 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2678, allocations: 81.11 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.2678, allocations: 34.56 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.745e-06/0.2678, allocations: 3.984 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.268, allocations: 37.69 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.268, allocations: 55.34 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.2681, allocations: 110 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2681, allocations: 25.7 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2682, allocations: 84.05 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.2682, allocations: 0 / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.2683, allocations: 21.62 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2684, allocations: 318.8 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2684, allocations: 4 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.2685, allocations: 21.72 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.2685, allocations: 17.72 kB / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2685, allocations: 0 / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.16e-05/0.2686, allocations: 49.62 kB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2686, allocations: 4 kB / 0.9562 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2687, allocations: 4 kB / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2687, allocations: 0 / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.2687, allocations: 12.05 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2687, allocations: 0 / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.2688, allocations: 0 / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2688, allocations: 4 kB / 0.9563 GB, free: 2.438 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 7.734e-05/0.2689, allocations: 117.7 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2689, allocations: 4 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.269, allocations: 117 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.097e-05/0.2691, allocations: 184.2 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.035e-05/0.2692, allocations: 180.3 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/0.2692, allocations: 176.3 kB / 0.957 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.2695, allocations: 409.1 kB / 0.9574 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/0.2695, allocations: 105 kB / 0.9575 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.2696, allocations: 108.9 kB / 0.9576 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.276e-05/0.2696, allocations: 184.3 kB / 0.9578 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.2697, allocations: 180.3 kB / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.509e-05/0.2698, allocations: 180.2 kB / 0.9581 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.758e-05/0.2698, allocations: 180.2 kB / 0.9583 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.27, allocations: 319.7 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.2702, allocations: 186 kB / 0.9588 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.12e-05/0.2702, allocations: 180.2 kB / 0.9589 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.2704, allocations: 109 kB / 0.959 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.2705, allocations: 188.1 kB / 0.9592 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.2706, allocations: 105 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.2706, allocations: 87.27 kB / 0.9594 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2706, allocations: 0 / 0.9594 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002503/0.2709, allocations: 19.94 kB / 0.9594 GB, free: 14.97 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.0002583/0.2711, allocations: 202.4 kB / 0.9596 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.2712, allocations: 11.94 kB / 0.9596 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2712, allocations: 4.125 kB / 0.9596 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.2712, allocations: 0 / 0.9596 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2716, allocations: 459.7 kB / 0.9601 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.2719, allocations: 199.7 kB / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2722, allocations: 0.6807 MB / 0.9609 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.2722, allocations: 7.438 kB / 0.9609 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.2722, allocations: 0 / 0.9609 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of Templates: time 0.002184/0.2744, allocations: 0.7666 MB / 0.9617 GB, free: 12.59 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches