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.001705/0.001705, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001737/0.001737, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.464/3.464, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002348/0.002348, allocations: 66.72 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4269, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006752/0.4336, allocations: 3.639 MB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.4339, allocations: 143.5 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.4339, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.434, allocations: 3.938 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.4341, allocations: 11.98 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.4345, allocations: 91.67 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.4346, allocations: 35.91 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.4347, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.4347, allocations: 19.91 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.4348, allocations: 19.92 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.4348, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.4354, allocations: 211.3 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.4354, allocations: 8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.4355, allocations: 15.91 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.4356, allocations: 51.94 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4356, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4356, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4357, allocations: 3.938 kB / 1.331 GB, free: 12.77 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.0004652/0.4361, allocations: 258.3 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4362, allocations: 8.031 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.4362, allocations: 4.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.4363, allocations: 114.5 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.498e-05/0.4364, allocations: 55.97 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.4364, allocations: 4.375 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4366, allocations: 71.33 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4366, allocations: 3.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4366, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.4366, allocations: 3.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.4367, allocations: 19.92 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.4371, allocations: 204.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/0.4371, allocations: 14.58 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.4372, allocations: 8.922 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.4372, allocations: 15.98 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4373, allocations: 30.56 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4373, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.4374, allocations: 41.59 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4375, allocations: 51.41 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4376, allocations: 105.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4376, allocations: 25.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.4377, allocations: 84.09 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.4377, allocations: 7.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.4377, allocations: 21.83 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4379, allocations: 318.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.4379, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.4379, allocations: 25.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.4379, allocations: 17.66 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4379, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.117e-05/0.438, allocations: 49.69 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.438, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.438, allocations: 4.062 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4381, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.4381, allocations: 11.94 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4381, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.4381, allocations: 3.953 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4381, allocations: 0 / 1.333 GB, free: 11.01 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 0.0001086/0.4382, allocations: 122.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.4383, allocations: 3.984 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.4384, allocations: 113 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.664e-05/0.4385, allocations: 188.2 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-05/0.4386, allocations: 180.3 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.904e-05/0.4387, allocations: 184.2 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.439, allocations: 360.8 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.419e-05/0.439, allocations: 105.3 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.4391, allocations: 116.8 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.724e-05/0.4392, allocations: 176.3 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.4393, allocations: 184.2 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.286e-05/0.4393, allocations: 176.3 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-05/0.4394, allocations: 180.2 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.4396, allocations: 319.7 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.4397, allocations: 108.9 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4398, allocations: 180.3 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.44, allocations: 109 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.4401, allocations: 184.2 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4401, allocations: 101 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.4402, allocations: 87.27 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4402, allocations: 0 / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002786/0.4405, allocations: 16 kB / 1.336 GB, free: 7.703 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.0002136/0.4407, allocations: 189.3 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.4407, allocations: 15.94 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4407, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4407, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.4413, allocations: 472.7 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.4416, allocations: 186 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.4417, allocations: 59.34 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.148e-05/0.4417, allocations: 8.125 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.4418, allocations: 11.44 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4418, allocations: 0 / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of Templates: time 0.003389/0.4451, allocations: 0.6928 MB / 1.337 GB, free: 6.043 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 -s cvode -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/jenkins1/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: 9.58056955000211]