Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.001539/0.001544, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001656/0.001656, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.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.611/2.611, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7571, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005309/0.7625, allocations: 3.766 MB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001974/0.7627, allocations: 163.5 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.7627, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.7628, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.7629, allocations: 15.97 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.7632, allocations: 67.77 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.7633, allocations: 35.86 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.7634, allocations: 8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.7634, allocations: 19.91 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.7635, allocations: 12 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.7635, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.764, allocations: 175.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.764, allocations: 11.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.764, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.7642, allocations: 45.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7642, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7642, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7642, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 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.0003925/0.7646, allocations: 335.5 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7647, allocations: 8.031 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.7647, allocations: 8.844 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7648, allocations: 172.2 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.7649, allocations: 26.27 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.7649, allocations: 384 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.7651, allocations: 53.62 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7651, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.7651, allocations: 3.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.7651, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.7652, allocations: 12 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.7656, allocations: 330 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.7656, allocations: 22.52 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.7657, allocations: 16.84 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.887e-05/0.7658, allocations: 81.17 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.7658, allocations: 38.56 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7658, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.7659, allocations: 37.62 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.766, allocations: 55.34 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.7661, allocations: 105.8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.7661, allocations: 29.83 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.7662, allocations: 88.03 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.7662, allocations: 11.84 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.7662, allocations: 17.72 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7663, allocations: 314.8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.7663, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.7664, allocations: 21.7 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.7664, allocations: 25.72 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7664, allocations: 3.938 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.619e-05/0.7665, allocations: 41.69 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.7665, allocations: 8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7665, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.7665, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.049e-05/0.7666, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7666, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.7666, allocations: 16 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.7666, allocations: 3.984 kB / 1.023 GB, free: 12.23 MB / 0.7794 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.119e-05/0.7667, allocations: 114.3 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.7667, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.7668, allocations: 116.9 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.507e-05/0.7669, allocations: 192.2 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.818e-05/0.767, allocations: 180.3 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.604e-05/0.7671, allocations: 180.3 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.7673, allocations: 413 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/0.7673, allocations: 105 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.7674, allocations: 104.9 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-05/0.7674, allocations: 176.3 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.7675, allocations: 184.2 kB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.073e-05/0.7676, allocations: 184.2 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.995e-05/0.7676, allocations: 176.3 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.7678, allocations: 311.7 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.7679, allocations: 182.1 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.768, allocations: 188.2 kB / 1.025 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.7681, allocations: 105 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.7682, allocations: 184.2 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.7682, allocations: 105 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.7683, allocations: 87.28 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7683, allocations: 4 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002411/0.7685, allocations: 16 kB / 1.026 GB, free: 8.77 MB / 0.7794 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.000253/0.7688, allocations: 202.4 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.31e-05/0.7689, allocations: 15.86 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7689, allocations: 4 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.7689, allocations: 128 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.7693, allocations: 467.6 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.7695, allocations: 173.9 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.7697, allocations: 0.6729 MB / 1.027 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.7698, allocations: 19.8 kB / 1.027 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.7698, allocations: 7.438 kB / 1.027 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7698, allocations: 0 / 1.027 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of Templates: time 0.002619/0.7724, allocations: 0.6343 MB / 1.028 GB, free: 6.535 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches