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.001062/0.001062, allocations: 98.8 kB / 16.02 MB, free: 76 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.001509/0.001509, allocations: 185 kB / 16.92 MB, free: 6.895 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.359 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.399/2.399, allocations: 390.9 MB / 0.667 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005139, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7734, allocations: 142.4 MB / 0.9557 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003878/0.7773, allocations: 3.415 MB / 0.959 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.7775, allocations: 157.2 kB / 0.9592 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.7775, allocations: 1.812 kB / 0.9592 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.608e-05/0.7776, allocations: 7.922 kB / 0.9592 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.7777, allocations: 11.42 kB / 0.9592 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.778, allocations: 79 kB / 0.9593 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.7781, allocations: 57.12 kB / 0.9593 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.7782, allocations: 1.375 kB / 0.9593 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.7782, allocations: 17.45 kB / 0.9593 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.7783, allocations: 14.42 kB / 0.9594 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.7783, allocations: 0.9062 kB / 0.9594 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.7788, allocations: 193.1 kB / 0.9595 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.7788, allocations: 15.03 kB / 0.9596 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.7789, allocations: 31.17 kB / 0.9596 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.091e-05/0.779, allocations: 27.34 kB / 0.9596 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.779, allocations: 5.062 kB / 0.9596 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.779, allocations: 0 / 0.9596 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.779, allocations: 3.938 kB / 0.9596 GB, free: 4.68 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.0002793/0.7793, allocations: 328.5 kB / 0.9599 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7793, allocations: 9.281 kB / 0.9599 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.7794, allocations: 2.344 kB / 0.9599 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.7795, allocations: 169.7 kB / 0.9601 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.7795, allocations: 27.52 kB / 0.9601 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.7795, allocations: 5.719 kB / 0.9601 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.7797, allocations: 54.52 kB / 0.9602 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7797, allocations: 0 / 0.9602 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.7797, allocations: 5.484 kB / 0.9602 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.7797, allocations: 4 kB / 0.9602 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.7798, allocations: 17.83 kB / 0.9602 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.7801, allocations: 333.4 kB / 0.9605 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.7802, allocations: 23.61 kB / 0.9606 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.7802, allocations: 7.297 kB / 0.9606 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.7803, allocations: 85.69 kB / 0.9606 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.7803, allocations: 35.88 kB / 0.9607 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.7803, allocations: 0 / 0.9607 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.7805, allocations: 31.8 kB / 0.9607 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.7805, allocations: 56.62 kB / 0.9608 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.7806, allocations: 99.03 kB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.7806, allocations: 27.17 kB / 0.9609 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.7806, allocations: 89.77 kB / 0.961 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.7806, allocations: 4.062 kB / 0.961 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.7806, allocations: 19.09 kB / 0.961 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.7807, allocations: 318.8 kB / 0.9613 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.7807, allocations: 7.094 kB / 0.9613 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.7807, allocations: 13.72 kB / 0.9613 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.7808, allocations: 23.95 kB / 0.9613 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7808, allocations: 0 / 0.9613 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.512e-05/0.7808, allocations: 50.48 kB / 0.9614 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.7809, allocations: 5.875 kB / 0.9614 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7809, allocations: 3.938 kB / 0.9614 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7809, allocations: 2.094 kB / 0.9614 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.7809, allocations: 7.703 kB / 0.9614 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7809, allocations: 1.75 kB / 0.9614 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.781, allocations: 4 kB / 0.9614 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.781, allocations: 2.062 kB / 0.9614 GB, free: 2.691 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 5.177e-05/0.781, allocations: 115.7 kB / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.7811, allocations: 1.875 kB / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.7812, allocations: 127.6 kB / 0.9616 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.7812, allocations: 180.3 kB / 0.9618 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/0.7812, allocations: 186.3 kB / 0.962 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.7812, allocations: 176.3 kB / 0.9622 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.7814, allocations: 417 kB / 0.9626 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.7814, allocations: 101 kB / 0.9627 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.7814, allocations: 106.7 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/0.7814, allocations: 180.2 kB / 0.9629 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.7815, allocations: 178.1 kB / 0.9631 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/0.7815, allocations: 184.2 kB / 0.9633 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.148e-05/0.7815, allocations: 181.9 kB / 0.9635 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.604e-05/0.7816, allocations: 308.1 kB / 0.9637 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.7817, allocations: 187 kB / 0.9639 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.7818, allocations: 193.4 kB / 0.9641 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.7819, allocations: 105.3 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.782, allocations: 177.3 kB / 0.9644 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.782, allocations: 106.1 kB / 0.9645 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.7821, allocations: 92.14 kB / 0.9646 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7821, allocations: 0 / 0.9646 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002494/0.7823, allocations: 16.25 kB / 0.9646 GB, free: 15.27 MB / 0.7325 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.7826, allocations: 201 kB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.867e-05/0.7827, allocations: 6.875 kB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7827, allocations: 0 / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.7827, allocations: 3.938 kB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.7832, allocations: 0.5343 MB / 0.9653 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.7834, allocations: 215.4 kB / 0.9655 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.7837, allocations: 0.6758 MB / 0.9662 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.7837, allocations: 10.19 kB / 0.9662 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7837, allocations: 0 / 0.9662 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.002439/0.7862, allocations: 0.7408 MB / 0.9669 GB, free: 13.25 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