Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002559/0.002559, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003177/0.003177, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.294e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006254/0.006287, allocations: 3.825 MB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.006528, allocations: 156.7 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.006547, allocations: 5.625 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.006653, allocations: 3.938 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.006724, allocations: 7.922 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.007083, allocations: 84.88 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.007172, allocations: 36.62 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.007205, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.007269, allocations: 25.06 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.007342, allocations: 11.98 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.007357, allocations: 0 / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.008081, allocations: 216.2 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.008127, allocations: 11.98 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.00815, allocations: 6.219 kB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.008329, allocations: 63.8 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.008332, allocations: 0 / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008334, allocations: 0 / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.00834, allocations: 4 kB / 0.8151 GB, free: 13.7 MB / 0.7761 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.000481/0.008821, allocations: 360.2 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.008862, allocations: 10.84 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.008914, allocations: 4.938 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.009034, allocations: 116.5 kB / 0.8156 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.009119, allocations: 59.95 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.00913, allocations: 384 / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.009276, allocations: 67.94 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.009285, allocations: 1.75 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.009296, allocations: 3.938 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.009316, allocations: 0 / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.009362, allocations: 12 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.009831, allocations: 260.4 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.926e-05/0.00989, allocations: 27.09 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.009911, allocations: 12.19 kB / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.969e-05/0.00997, allocations: 8.625 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.01, allocations: 33.95 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.01, allocations: 0 / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.01016, allocations: 43.02 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.01021, allocations: 59.33 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.01034, allocations: 166.6 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01036, allocations: 25.7 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.01044, allocations: 131.9 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.01045, allocations: 7.938 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.0105, allocations: 23.38 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.01075, allocations: 496.8 kB / 0.817 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.01077, allocations: 0 / 0.817 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.0108, allocations: 24.08 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.01085, allocations: 35.06 kB / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.01085, allocations: 0 / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.461e-05/0.01093, allocations: 49.62 kB / 0.8171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01095, allocations: 4 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01095, allocations: 4 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01097, allocations: 0 / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.01101, allocations: 7.938 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01102, allocations: 0 / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.01104, allocations: 5.438 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01105, allocations: 0 / 0.8171 GB, free: 11.46 MB / 0.7761 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 0.0001078/0.01115, allocations: 156.5 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.01119, allocations: 16.86 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.01134, allocations: 166.8 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000134/0.01148, allocations: 269.1 kB / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001461/0.01162, allocations: 264.1 kB / 0.8179 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/0.01176, allocations: 276.1 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.01207, allocations: 497 kB / 0.8186 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.957e-05/0.01215, allocations: 148.9 kB / 0.8188 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.01223, allocations: 152.8 kB / 0.8189 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/0.01237, allocations: 281.2 kB / 0.8192 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.01251, allocations: 268.1 kB / 0.8195 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001298/0.01264, allocations: 268 kB / 0.8197 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001268/0.01277, allocations: 268.8 kB / 0.82 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.01302, allocations: 448 kB / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.01311, allocations: 157.7 kB / 0.8205 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.01325, allocations: 264.1 kB / 0.8208 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.01343, allocations: 153.6 kB / 0.8209 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.01358, allocations: 272 kB / 0.8212 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.01365, allocations: 146.7 kB / 0.8213 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.01373, allocations: 131.2 kB / 0.8215 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01373, allocations: 0 / 0.8215 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000241/0.01398, allocations: 19.92 kB / 0.8215 GB, free: 6.746 MB / 0.7761 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.0002404/0.01422, allocations: 231.8 kB / 0.8217 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.489e-05/0.0143, allocations: 23.62 kB / 0.8217 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0143, allocations: 1.094 kB / 0.8217 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.0143, allocations: 0 / 0.8217 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.01498, allocations: 0.708 MB / 0.8224 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.0153, allocations: 244.3 kB / 0.8227 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.479e-05/0.01537, allocations: 55.36 kB / 0.8227 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.749e-05/0.01541, allocations: 4 kB / 0.8227 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.01544, allocations: 13.83 kB / 0.8227 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01544, allocations: 4 kB / 0.8227 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.003554/0.019, allocations: 0.6838 MB / 0.8234 GB, free: 4.738 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.386525011970662]