Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001421/0.001421, 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.001479/0.001479, allocations: 213.3 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.812 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.555/3.555, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.00216/0.00216, allocations: 64.72 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4389, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00903/0.4479, allocations: 3.9 MB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.4482, allocations: 147.5 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.4483, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.4484, allocations: 11.92 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.4485, allocations: 11.92 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.449, allocations: 85.11 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.4492, allocations: 31.86 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.127e-05/0.4492, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.4493, allocations: 15.97 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.4494, allocations: 19.94 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.4494, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.4497, allocations: 51.8 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.4497, allocations: 7.984 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.4498, allocations: 11.98 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.45, allocations: 63.75 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.45, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.45, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.45, allocations: 0 / 1.33 GB, free: 13.5 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.0005226/0.4505, allocations: 262.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4506, allocations: 12.03 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.4506, allocations: 8.875 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4507, allocations: 106.5 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4508, allocations: 55.95 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.4509, allocations: 384 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.4511, allocations: 75.33 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4511, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4511, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.4511, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.4512, allocations: 15.92 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.4517, allocations: 208.5 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.4518, allocations: 30.61 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.4518, allocations: 4.859 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.423e-05/0.4518, allocations: 8.062 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4519, allocations: 30.56 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.4519, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002126/0.4521, allocations: 45.58 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.4521, allocations: 55.34 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4523, allocations: 97.86 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.4523, allocations: 29.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.4524, allocations: 96.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.4524, allocations: 3.984 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.4524, allocations: 13.72 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4526, allocations: 314.8 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.4526, allocations: 8 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.4527, allocations: 17.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.4527, allocations: 25.66 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4527, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001278/0.4529, allocations: 53.62 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4529, allocations: 8 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4529, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4529, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.453, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.453, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.453, allocations: 7.953 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.453, allocations: 3.984 kB / 1.331 GB, free: 11.73 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.0001157/0.4531, allocations: 116 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.4532, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.4534, allocations: 125 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/0.4535, allocations: 180.2 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001178/0.4536, allocations: 180.3 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/0.4537, allocations: 180.2 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.4541, allocations: 360.8 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.3e-05/0.4541, allocations: 108.9 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.4542, allocations: 105 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.4543, allocations: 184.3 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.4545, allocations: 180.2 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001142/0.4546, allocations: 180.3 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00012/0.4548, allocations: 192.2 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.455, allocations: 300 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.4551, allocations: 112.9 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.4552, allocations: 184.2 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.4555, allocations: 112.9 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4556, allocations: 180.2 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.4556, allocations: 105 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.39e-05/0.4557, allocations: 91.2 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4557, allocations: 0 / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003977/0.4561, allocations: 15.94 kB / 1.334 GB, free: 8.422 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.0002974/0.4564, allocations: 198.4 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.4565, allocations: 7.984 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4565, allocations: 0 / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-06/0.4565, allocations: 4 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.4572, allocations: 467.6 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.4576, allocations: 190 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.094e-05/0.4577, allocations: 55.36 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.789e-05/0.4578, allocations: 12.11 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.4578, allocations: 7.438 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4578, allocations: 0 / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of Templates: time 0.00451/0.4623, allocations: 0.6649 MB / 1.336 GB, free: 6.781 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.63928621634841]