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.001712/0.001712, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001481/0.001481, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.868/2.868, allocations: 394.2 MB / 0.6386 GB, free: 12.01 MB / 0.6075 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.002357/0.002357, allocations: 66.36 kB / 1.009 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.043, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00571/1.048, allocations: 3.621 MB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002147/1.048, allocations: 155.2 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/1.048, allocations: 5.094 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/1.049, allocations: 1.406 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/1.049, allocations: 9.578 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/1.049, allocations: 87.16 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/1.049, allocations: 33.61 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/1.049, allocations: 2.406 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/1.049, allocations: 24.73 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/1.049, allocations: 11.84 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/1.049, allocations: 1.125 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/1.05, allocations: 213.2 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/1.05, allocations: 8.344 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/1.05, allocations: 10.62 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/1.05, allocations: 59.38 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.05, allocations: 0 / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.284e-06/1.05, allocations: 1.25 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.05, allocations: 0 / 1.191 GB, free: 13.47 MB / 1.076 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.0003803/1.051, allocations: 260 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.051, allocations: 10.83 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/1.051, allocations: 2.312 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/1.051, allocations: 113.1 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/1.051, allocations: 54.81 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/1.051, allocations: 4.375 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/1.051, allocations: 69.8 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.051, allocations: 3.938 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.051, allocations: 1.312 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/1.051, allocations: 5.594 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/1.051, allocations: 20.59 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/1.052, allocations: 209 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/1.052, allocations: 17.34 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/1.052, allocations: 5.953 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/1.052, allocations: 7.156 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/1.052, allocations: 33.94 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.052, allocations: 0 / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.00015/1.052, allocations: 40.38 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/1.052, allocations: 53.66 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/1.052, allocations: 106.7 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/1.052, allocations: 25.7 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/1.052, allocations: 86.98 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/1.052, allocations: 9.047 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/1.052, allocations: 18.75 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/1.052, allocations: 317.4 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/1.052, allocations: 3.234 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/1.052, allocations: 15.92 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/1.052, allocations: 25.75 kB / 1.192 GB, free: 11.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.052, allocations: 4 kB / 1.192 GB, free: 11.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.929e-05/1.052, allocations: 45.36 kB / 1.192 GB, free: 11.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.052, allocations: 6 kB / 1.192 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.052, allocations: 0.5625 kB / 1.192 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.052, allocations: 1.094 kB / 1.192 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/1.052, allocations: 6.781 kB / 1.192 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/1.052, allocations: 3.938 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/1.052, allocations: 2.062 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.052, allocations: 1.859 kB / 1.192 GB, free: 11.89 MB / 1.076 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.537e-05/1.052, allocations: 117.5 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/1.052, allocations: 6.062 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-05/1.052, allocations: 122.3 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/1.053, allocations: 183.3 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/1.053, allocations: 178.2 kB / 1.193 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/1.053, allocations: 178.1 kB / 1.193 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/1.053, allocations: 371.1 kB / 1.193 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.053, allocations: 102.8 kB / 1.193 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/1.053, allocations: 107.2 kB / 1.194 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.923e-05/1.053, allocations: 186.1 kB / 1.194 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/1.053, allocations: 186.3 kB / 1.194 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/1.053, allocations: 178.2 kB / 1.194 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-05/1.053, allocations: 182.2 kB / 1.194 GB, free: 9.758 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.43e-05/1.053, allocations: 312.7 kB / 1.195 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/1.053, allocations: 110.5 kB / 1.195 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/1.053, allocations: 180 kB / 1.195 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1.053, allocations: 104.9 kB / 1.195 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/1.053, allocations: 182.9 kB / 1.195 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/1.053, allocations: 107.2 kB / 1.195 GB, free: 8.746 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.345e-05/1.053, allocations: 81.88 kB / 1.195 GB, free: 8.672 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/1.053, allocations: 4 kB / 1.195 GB, free: 8.668 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002459/1.053, allocations: 17.36 kB / 1.195 GB, free: 8.664 MB / 1.076 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.0001618/1.054, allocations: 194.2 kB / 1.195 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.455e-05/1.054, allocations: 15.06 kB / 1.195 GB, free: 8.488 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.054, allocations: 1.531 kB / 1.195 GB, free: 8.488 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/1.054, allocations: 0 / 1.195 GB, free: 8.488 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/1.054, allocations: 462 kB / 1.196 GB, free: 8.039 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/1.054, allocations: 188.1 kB / 1.196 GB, free: 7.852 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/1.054, allocations: 58.44 kB / 1.196 GB, free: 7.781 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.167e-05/1.054, allocations: 7.906 kB / 1.196 GB, free: 7.781 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/1.054, allocations: 9.688 kB / 1.196 GB, free: 7.773 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.054, allocations: 1.125 kB / 1.196 GB, free: 7.773 MB / 1.076 GB Notification: Performance of Templates: time 0.003403/1.058, allocations: 0.6682 MB / 1.197 GB, free: 7.664 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.001682709902525]