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.001237/0.001237, 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.001315/0.001315, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.399/2.399, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7548, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004668/0.7595, allocations: 3.774 MB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.7597, allocations: 165.2 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.7598, allocations: 0 / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.762e-05/0.7599, allocations: 0 / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.7599, allocations: 11.73 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.7603, allocations: 75.23 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.7604, allocations: 29.91 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.7604, allocations: 9.203 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.7604, allocations: 16.91 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.7605, allocations: 19.5 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.7605, allocations: 1.344 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.761, allocations: 172.3 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.7611, allocations: 10.11 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.7611, allocations: 9.297 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.7613, allocations: 53.8 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7613, allocations: 1.781 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7613, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7613, allocations: 4 kB / 0.9533 GB, free: 5.781 MB / 0.7169 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.0003466/0.7616, allocations: 331.8 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7617, allocations: 9.906 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.7617, allocations: 6.219 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.7618, allocations: 169.5 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.7619, allocations: 27.42 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.7619, allocations: 1.656 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.762, allocations: 50.78 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.762, allocations: 3.938 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.7621, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.7621, allocations: 1.344 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.7621, allocations: 14.33 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.7625, allocations: 332.2 kB / 0.9542 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.7625, allocations: 21.39 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.7626, allocations: 10.2 kB / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.7626, allocations: 85.12 kB / 0.9543 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.7627, allocations: 36.09 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7627, allocations: 3.938 kB / 0.9544 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001378/0.7628, allocations: 31.95 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.7628, allocations: 52.62 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.7629, allocations: 103.7 kB / 0.9545 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.7629, allocations: 33.77 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.763, allocations: 93.25 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-06/0.763, allocations: 5.344 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.763, allocations: 16.53 kB / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.763, allocations: 324 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.7631, allocations: 2.25 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.7631, allocations: 17.81 kB / 0.955 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.7631, allocations: 27.8 kB / 0.955 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7631, allocations: 1.25 kB / 0.955 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.265e-05/0.7632, allocations: 46.58 kB / 0.9551 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.7632, allocations: 9.234 kB / 0.9551 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7632, allocations: 288 / 0.9551 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7632, allocations: 1.188 kB / 0.9551 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.7633, allocations: 5.156 kB / 0.9551 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7633, allocations: 0 / 0.9551 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.7633, allocations: 6.281 kB / 0.9551 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.7633, allocations: 1.188 kB / 0.9551 GB, free: 3.793 MB / 0.7169 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 4.829e-05/0.7634, allocations: 112.2 kB / 0.9552 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.7634, allocations: 5.391 kB / 0.9552 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.7635, allocations: 127.8 kB / 0.9553 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.7635, allocations: 177.6 kB / 0.9555 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.7636, allocations: 184.2 kB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.7636, allocations: 177.8 kB / 0.9559 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.7637, allocations: 408 kB / 0.9563 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.7638, allocations: 110.3 kB / 0.9564 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.7638, allocations: 101 kB / 0.9565 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.483e-05/0.7638, allocations: 185.6 kB / 0.9566 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.7638, allocations: 177.7 kB / 0.9568 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.287e-05/0.7639, allocations: 181.8 kB / 0.957 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.337e-05/0.7639, allocations: 184.2 kB / 0.9571 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.823e-05/0.764, allocations: 312 kB / 0.9574 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.764, allocations: 187.3 kB / 0.9576 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.764, allocations: 185.6 kB / 0.9578 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.7642, allocations: 107.8 kB / 0.9579 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.7642, allocations: 181.7 kB / 0.9581 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.7642, allocations: 106.1 kB / 0.9582 GB, free: 472 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.7643, allocations: 91.3 kB / 0.9583 GB, free: 384 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7643, allocations: 1.938 kB / 0.9583 GB, free: 384 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002314/0.7645, allocations: 10.47 kB / 0.9583 GB, free: 384 kB / 0.7169 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.0002201/0.7647, allocations: 205.6 kB / 0.9585 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.7648, allocations: 6 kB / 0.9585 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7648, allocations: 0 / 0.9585 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.7648, allocations: 9.094 kB / 0.9585 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.7652, allocations: 465.4 kB / 0.9589 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.7655, allocations: 176.9 kB / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.7657, allocations: 0.6766 MB / 0.9598 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.7658, allocations: 10.53 kB / 0.9598 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.7658, allocations: 8.844 kB / 0.9598 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7658, allocations: 0 / 0.9598 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.002662/0.7685, allocations: 0.6393 MB / 0.9604 GB, free: 14.5 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches