Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001901/0.001901, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002455/0.002455, allocations: 212.8 kB / 22.25 MB, free: 4.855 MB / 14.72 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 69.56 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3545, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006535/0.361, allocations: 3.625 MB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002286/0.3612, allocations: 155.5 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.3613, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3614, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.3615, allocations: 15.92 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.3619, allocations: 80 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.3619, allocations: 39.84 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.362, allocations: 7.984 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.362, allocations: 15.98 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.3621, allocations: 15.86 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3621, allocations: 4 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.3628, allocations: 207.3 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.3628, allocations: 4 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.3628, allocations: 19.91 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.363, allocations: 51.94 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.363, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.363, allocations: 4 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.363, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 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.000418/0.3634, allocations: 254.3 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3635, allocations: 12.03 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.3635, allocations: 4.891 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3636, allocations: 110.5 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.3637, allocations: 55.97 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3637, allocations: 8.062 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3639, allocations: 67.39 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3639, allocations: 8 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3639, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.3639, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.364, allocations: 11.98 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3644, allocations: 208.5 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.3645, allocations: 30.45 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.3645, allocations: 4.859 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.3645, allocations: 12.05 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3646, allocations: 30.56 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3646, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.3647, allocations: 37.7 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3648, allocations: 51.41 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.3649, allocations: 109.7 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3649, allocations: 29.7 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.365, allocations: 88.09 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.365, allocations: 3.984 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.365, allocations: 17.7 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3652, allocations: 314.8 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.3652, allocations: 8 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.3652, allocations: 17.72 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.3653, allocations: 25.84 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3653, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.911e-05/0.3654, allocations: 49.62 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3654, allocations: 4 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3654, allocations: 8 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3654, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.3655, allocations: 4 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3655, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.3655, allocations: 12.02 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3655, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 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.0001005/0.3656, allocations: 125.6 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3656, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.3658, allocations: 121 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.812e-05/0.3658, allocations: 176.5 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.985e-05/0.3659, allocations: 188.2 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.162e-05/0.366, allocations: 180.2 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3663, allocations: 360.8 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/0.3663, allocations: 105 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.3664, allocations: 105 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.216e-05/0.3665, allocations: 188.2 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.3666, allocations: 176.3 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.617e-05/0.3667, allocations: 184.1 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-05/0.3668, allocations: 184.3 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3669, allocations: 307.7 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.367, allocations: 109 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.3671, allocations: 180.2 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3673, allocations: 112.9 kB / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.3674, allocations: 180.2 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.3674, allocations: 109 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.3675, allocations: 87.27 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3675, allocations: 0 / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000254/0.3677, allocations: 15.94 kB / 1.292 GB, free: 2.605 MB / 0.9825 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.0002024/0.3679, allocations: 186.5 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.368, allocations: 11.94 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.368, allocations: 0 / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.368, allocations: 0 / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.3685, allocations: 467.7 kB / 1.292 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.3688, allocations: 190.3 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.3689, allocations: 55.36 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.3689, allocations: 4 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.3689, allocations: 11.42 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3689, allocations: 0 / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.003345/0.3723, allocations: 0.6769 MB / 1.293 GB, free: 0.9727 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.314509527757764]