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.001767/0.001767, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001762/0.001762, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.968/2.968, allocations: 0.4899 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001978/0.001978, allocations: 65.19 kB / 1.154 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005673/0.3479, allocations: 3.829 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.3481, allocations: 155.5 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3481, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.3482, allocations: 7.922 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.3483, allocations: 7.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.3487, allocations: 92.86 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.3488, allocations: 35.84 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.3488, allocations: 11.88 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.3489, allocations: 15.97 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.349, allocations: 8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.349, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.3496, allocations: 239.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.3496, allocations: 19.91 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.3497, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3498, allocations: 67.8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3498, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3498, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3498, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 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.0004058/0.3502, allocations: 262.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3503, allocations: 8.031 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3503, allocations: 4.922 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.3504, allocations: 114.5 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.3505, allocations: 51.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.3505, allocations: 384 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3506, allocations: 53.61 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3506, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3506, allocations: 3.984 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.3507, allocations: 3.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.3507, allocations: 15.98 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3511, allocations: 232 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.3511, allocations: 18.58 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.3512, allocations: 4.859 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.3512, allocations: 8.062 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3512, allocations: 30.56 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3512, allocations: 7.938 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.3514, allocations: 37.64 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3514, allocations: 55.41 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.3515, allocations: 101.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3515, allocations: 25.7 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.3516, allocations: 92.09 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.3516, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3516, allocations: 13.72 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3518, allocations: 322.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.3518, allocations: 7.984 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.3518, allocations: 13.72 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.3518, allocations: 25.59 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3519, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.959e-05/0.3519, allocations: 53.69 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3519, allocations: 11.94 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.352, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.352, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.352, allocations: 7.984 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.352, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.352, allocations: 3.953 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.352, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 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 8.353e-05/0.3521, allocations: 114.3 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3522, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.3523, allocations: 128.9 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.975e-05/0.3523, allocations: 176.3 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.469e-05/0.3524, allocations: 180.3 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.607e-05/0.3525, allocations: 180.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.3527, allocations: 392.2 kB / 1.333 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.3528, allocations: 104.9 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.3528, allocations: 101 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.3529, allocations: 180.2 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/0.353, allocations: 184.2 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.283e-05/0.3531, allocations: 180.3 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.632e-05/0.3531, allocations: 184.2 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3533, allocations: 307.7 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.3533, allocations: 109 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.3534, allocations: 176.3 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3536, allocations: 116.9 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.3537, allocations: 176.3 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.3537, allocations: 104.9 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.3538, allocations: 91.27 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3538, allocations: 0 / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002269/0.354, allocations: 12 kB / 1.335 GB, free: 7.832 MB / 1.029 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.0001853/0.3542, allocations: 194.4 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.3542, allocations: 12 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3543, allocations: 3.938 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3543, allocations: 0 / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.3547, allocations: 463.6 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.355, allocations: 190.4 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3553, allocations: 0.6768 MB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.3553, allocations: 7.531 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.3553, allocations: 7.438 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3553, allocations: 0 / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of Templates: time 0.003072/0.3584, allocations: 0.6595 MB / 1.337 GB, free: 5.582 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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.221901486162096]