Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001395/0.001395, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001526/0.001526, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.244/3.244, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.002271/0.002271, allocations: 71.27 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3577, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006497/0.3642, allocations: 3.621 MB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000245/0.3644, allocations: 147.5 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.3645, allocations: 0 / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.3646, allocations: 15.92 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.3646, allocations: 7.938 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.365, allocations: 83.73 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.3651, allocations: 39.78 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.3652, allocations: 0 / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.3652, allocations: 23.98 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.3653, allocations: 11.92 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3653, allocations: 0 / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.3659, allocations: 215.2 kB / 1.369 GB, free: 9.473 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.366, allocations: 7.984 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.366, allocations: 8 kB / 1.369 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3661, allocations: 63.78 kB / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3661, allocations: 0 / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3661, allocations: 4 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.3661, allocations: 0 / 1.369 GB, free: 9.391 MB / 1.061 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.0003864/0.3665, allocations: 260.1 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3666, allocations: 8.031 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.3666, allocations: 4.938 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3667, allocations: 110.4 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.3668, allocations: 55.97 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.3668, allocations: 384 / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.367, allocations: 75.31 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.367, allocations: 0 / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.367, allocations: 4 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.367, allocations: 4 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.367, allocations: 23.92 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.3674, allocations: 200.6 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.3675, allocations: 22.58 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.3675, allocations: 4.859 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.3675, allocations: 8.062 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.3676, allocations: 38.55 kB / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3676, allocations: 0 / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.3677, allocations: 33.64 kB / 1.37 GB, free: 8.422 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3678, allocations: 55.53 kB / 1.37 GB, free: 8.355 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.3679, allocations: 113.8 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3679, allocations: 25.7 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3679, allocations: 92.09 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.368, allocations: 3.953 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.368, allocations: 13.72 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3681, allocations: 322.8 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.3682, allocations: 4 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.3682, allocations: 13.72 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.3682, allocations: 25.66 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3682, allocations: 4 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.985e-05/0.3683, allocations: 53.56 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3683, allocations: 5.875 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3683, allocations: 3.984 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3683, allocations: 4 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.3684, allocations: 7.984 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3684, allocations: 0 / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.3684, allocations: 0 / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3684, allocations: 4 kB / 1.37 GB, free: 7.621 MB / 1.061 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.0001129/0.3685, allocations: 118.9 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3686, allocations: 4 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3687, allocations: 128.9 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-05/0.3688, allocations: 176.3 kB / 1.371 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.073e-05/0.3689, allocations: 176.3 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.665e-05/0.3689, allocations: 184.2 kB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3692, allocations: 364.8 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-05/0.3692, allocations: 104.9 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.3693, allocations: 101 kB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.599e-05/0.3694, allocations: 180.3 kB / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.3695, allocations: 188.2 kB / 1.372 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.858e-05/0.3695, allocations: 180.3 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.403e-05/0.3696, allocations: 184.2 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3698, allocations: 307.8 kB / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.3699, allocations: 104.9 kB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.37, allocations: 180.3 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3701, allocations: 112.9 kB / 1.373 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.3702, allocations: 180.2 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.3703, allocations: 104.9 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.3703, allocations: 87.28 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3703, allocations: 7.938 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002567/0.3706, allocations: 15.94 kB / 1.373 GB, free: 4.32 MB / 1.061 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.0002246/0.3708, allocations: 190.5 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.3709, allocations: 12 kB / 1.373 GB, free: 4.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3709, allocations: 0 / 1.373 GB, free: 4.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.3709, allocations: 0 / 1.373 GB, free: 4.113 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.3714, allocations: 459.6 kB / 1.374 GB, free: 3.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.3717, allocations: 219.9 kB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.088e-05/0.3718, allocations: 59.34 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3718, allocations: 11.44 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/0.3718, allocations: 0 / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of Templates: time 0.002393/0.3742, allocations: 0.7333 MB / 1.375 GB, free: 2.602 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.263546960894018]