Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 103.6 kB / 18.95 MB, free: 2.664 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.002132/0.002132, allocations: 210.3 kB / 22.24 MB, free: 5.266 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.777 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.549/3.549, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [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.002192/0.002192, allocations: 63.2 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3694, allocations: 176.1 MB / 1.325 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1868/0.5562, allocations: 130.4 MB / 1.453 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001995/0.5564, allocations: 47.75 kB / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.5564, allocations: 0 / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.5566, allocations: 7.922 kB / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.5567, allocations: 15.92 kB / 1.453 GB, free: 14.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.5576, allocations: 217.4 kB / 1.453 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.5577, allocations: 35.84 kB / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.5578, allocations: 0 / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.5578, allocations: 27.91 kB / 1.453 GB, free: 14.71 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.5579, allocations: 4 kB / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.5579, allocations: 0 / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.5583, allocations: 163.4 kB / 1.453 GB, free: 14.54 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.5584, allocations: 15.91 kB / 1.453 GB, free: 14.53 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.5584, allocations: 4 kB / 1.453 GB, free: 14.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.5586, allocations: 103.7 kB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5586, allocations: 4 kB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5586, allocations: 0 / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5586, allocations: 0 / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004809/0.5591, allocations: 271.6 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5592, allocations: 12.03 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.5595, allocations: 24.91 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5596, allocations: 106.5 kB / 1.454 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.5597, allocations: 59.28 kB / 1.454 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.5597, allocations: 0 / 1.454 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.5599, allocations: 83.36 kB / 1.454 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5599, allocations: 4 kB / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5599, allocations: 0 / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5599, allocations: 0 / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.56, allocations: 19.98 kB / 1.454 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.5604, allocations: 208.5 kB / 1.454 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.5605, allocations: 30.52 kB / 1.454 GB, free: 13.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.5605, allocations: 4.859 kB / 1.454 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.5606, allocations: 27.98 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5607, allocations: 34.5 kB / 1.454 GB, free: 13.42 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.5607, allocations: 0 / 1.454 GB, free: 13.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002895/0.561, allocations: 49.69 kB / 1.454 GB, free: 13.37 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.561, allocations: 55.34 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5612, allocations: 105.8 kB / 1.454 GB, free: 13.19 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5612, allocations: 25.7 kB / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.5613, allocations: 84.09 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.5613, allocations: 20.02 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.5613, allocations: 17.7 kB / 1.455 GB, free: 13.03 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5615, allocations: 318.8 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.5615, allocations: 4 kB / 1.455 GB, free: 12.7 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.5615, allocations: 26.73 kB / 1.455 GB, free: 12.67 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.5616, allocations: 30.52 kB / 1.455 GB, free: 12.63 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5616, allocations: 0 / 1.455 GB, free: 12.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.331e-05/0.5617, allocations: 57.69 kB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5617, allocations: 8 kB / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5617, allocations: 0 / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5617, allocations: 0 / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.5618, allocations: 12 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5618, allocations: 0 / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.5618, allocations: 3.938 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.5618, allocations: 4 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.446e-05/0.5619, allocations: 113.8 kB / 1.455 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.562, allocations: 3.953 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.562, allocations: 7.344 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.562, allocations: 4 kB / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.562, allocations: 0 / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.562, allocations: 7.938 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.5623, allocations: 303.2 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5623, allocations: 4 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.5623, allocations: 4 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5623, allocations: 0 / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.5624, allocations: 7.984 kB / 1.455 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.5624, allocations: 7.938 kB / 1.455 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5624, allocations: 8 kB / 1.455 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.5625, allocations: 66 kB / 1.456 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.5625, allocations: 7.891 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5625, allocations: 3.984 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.5626, allocations: 7.938 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.5626, allocations: 0 / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.5626, allocations: 4 kB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.351e-05/0.5627, allocations: 91.2 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5627, allocations: 0 / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001997/0.5629, allocations: 4 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001635/0.563, allocations: 107.3 kB / 1.456 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.5631, allocations: 19.94 kB / 1.456 GB, free: 11.69 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5631, allocations: 0 / 1.456 GB, free: 11.69 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.5631, allocations: 7.938 kB / 1.456 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.5634, allocations: 7.984 kB / 1.456 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.5638, allocations: 123.9 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.5638, allocations: 59.34 kB / 1.456 GB, free: 11.44 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.5639, allocations: 4.234 kB / 1.456 GB, free: 11.44 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.5639, allocations: 11.44 kB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of SimCode: time 3.31e-07/0.5639, allocations: 0 / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of Templates: time 0.003447/0.5674, allocations: 0.6143 MB / 1.457 GB, free: 10.82 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.799808420240879]