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.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.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.001374/0.001374, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 200 kB / 16.79 MB, free: 6.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.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.333/2.333, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6473, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004583/0.6519, allocations: 3.786 MB / 0.9533 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.6522, allocations: 165.2 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.6522, allocations: 0 / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.6523, allocations: 9.25 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.6524, allocations: 6.328 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.6528, allocations: 86.44 kB / 0.9535 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.6529, allocations: 61.12 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.6529, allocations: 2.344 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.6529, allocations: 8.906 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.653, allocations: 22.47 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.653, allocations: 1.094 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.6536, allocations: 194 kB / 0.9538 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.6536, allocations: 2.969 kB / 0.9538 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.6537, allocations: 16.17 kB / 0.9538 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.6538, allocations: 25.42 kB / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6538, allocations: 3.938 kB / 0.9538 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6538, allocations: 0 / 0.9538 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.6538, allocations: 0 / 0.9538 GB, free: 5.773 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.0002986/0.6541, allocations: 341.7 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6541, allocations: 9.781 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.6542, allocations: 2.5 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.6542, allocations: 164.3 kB / 0.9543 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.6543, allocations: 31.89 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.6543, allocations: 2 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.6544, allocations: 54.92 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6544, allocations: 0 / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6545, allocations: 0 / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.6545, allocations: 2.188 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.6545, allocations: 17.36 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.6549, allocations: 332.6 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.409e-05/0.655, allocations: 24.14 kB / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.655, allocations: 9.953 kB / 0.9548 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-05/0.6551, allocations: 86.75 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.6551, allocations: 31.97 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6551, allocations: 0 / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.6552, allocations: 35.36 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.6552, allocations: 56.81 kB / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.6553, allocations: 100.2 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.6553, allocations: 25.7 kB / 0.9551 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.6554, allocations: 89.48 kB / 0.9552 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.6554, allocations: 3.938 kB / 0.9552 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.6554, allocations: 21.48 kB / 0.9552 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.6554, allocations: 320.3 kB / 0.9555 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.6555, allocations: 10.47 kB / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.6555, allocations: 22.27 kB / 0.9555 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.6555, allocations: 19.97 kB / 0.9556 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6555, allocations: 0 / 0.9556 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.665e-05/0.6556, allocations: 50.91 kB / 0.9556 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6556, allocations: 4.156 kB / 0.9556 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6556, allocations: 5.094 kB / 0.9556 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6557, allocations: 5.562 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.6557, allocations: 4 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6557, allocations: 1.531 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.6557, allocations: 1.344 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.6558, allocations: 5.094 kB / 0.9556 GB, free: 3.777 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.972e-05/0.6558, allocations: 116.3 kB / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.6558, allocations: 1.375 kB / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.6559, allocations: 124.4 kB / 0.9559 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.6559, allocations: 176.3 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/0.656, allocations: 185 kB / 0.9562 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.656, allocations: 177.6 kB / 0.9564 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.6561, allocations: 407.9 kB / 0.9568 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6562, allocations: 106 kB / 0.9569 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.6562, allocations: 106.2 kB / 0.957 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/0.6562, allocations: 181.6 kB / 0.9572 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.6562, allocations: 181.7 kB / 0.9573 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-05/0.6563, allocations: 188.2 kB / 0.9575 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.242e-05/0.6563, allocations: 178 kB / 0.9577 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.42e-05/0.6564, allocations: 315.7 kB / 0.958 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.6564, allocations: 183.2 kB / 0.9581 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.6564, allocations: 181.8 kB / 0.9583 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.6566, allocations: 107.7 kB / 0.9584 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.6566, allocations: 185.4 kB / 0.9586 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.6566, allocations: 110.1 kB / 0.9587 GB, free: 456 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.6567, allocations: 83.53 kB / 0.9588 GB, free: 376 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6567, allocations: 1.188 kB / 0.9588 GB, free: 376 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002443/0.6569, allocations: 16.25 kB / 0.9588 GB, free: 372 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.0001861/0.6571, allocations: 200.5 kB / 0.959 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.6572, allocations: 15.22 kB / 0.959 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6572, allocations: 0 / 0.959 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.6572, allocations: 3.938 kB / 0.959 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.6576, allocations: 0.527 MB / 0.9595 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.6579, allocations: 216 kB / 0.9597 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.6582, allocations: 0.6723 MB / 0.9604 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.6582, allocations: 10.06 kB / 0.9604 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6582, allocations: 0 / 0.9604 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.002089/0.6603, allocations: 0.7433 MB / 0.9611 GB, free: 14.35 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches