Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00107/0.00107, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001149/0.001149, allocations: 165 kB / 24.27 MB, free: 280 kB / 18.57 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 0.9914/0.9914, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.772/1.772, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.628e-05, allocations: 4.984 kB / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1411/0.1411, allocations: 143.9 MB / 0.9276 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.1413, allocations: 55.8 kB / 0.9276 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.1413, allocations: 4 kB / 0.9276 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1414, allocations: 0 / 0.9276 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.1415, allocations: 19.84 kB / 0.9276 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.1422, allocations: 207.1 kB / 0.9278 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.816e-05/0.1423, allocations: 39.84 kB / 0.9279 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1424, allocations: 4 kB / 0.9279 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.1424, allocations: 19.97 kB / 0.9279 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.1425, allocations: 11.92 kB / 0.9279 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1425, allocations: 4 kB / 0.9279 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.1428, allocations: 163.4 kB / 0.9281 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1428, allocations: 11.98 kB / 0.9281 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.1429, allocations: 4 kB / 0.9281 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1431, allocations: 119.6 kB / 0.9282 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1431, allocations: 0 / 0.9282 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1431, allocations: 0 / 0.9282 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1431, allocations: 4 kB / 0.9282 GB, free: 10.72 MB / 0.8386 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.0003577/0.1434, allocations: 368.2 kB / 0.9286 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1435, allocations: 8.031 kB / 0.9286 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.1438, allocations: 40.78 kB / 0.9286 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.1439, allocations: 104.6 kB / 0.9287 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.1439, allocations: 55.97 kB / 0.9288 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1439, allocations: 8.125 kB / 0.9288 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1441, allocations: 76.09 kB / 0.9288 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1441, allocations: 0 / 0.9288 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1441, allocations: 7.938 kB / 0.9288 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.1441, allocations: 4 kB / 0.9289 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.1441, allocations: 11.98 kB / 0.9289 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.1445, allocations: 255.8 kB / 0.9291 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.1445, allocations: 31.06 kB / 0.9291 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.1445, allocations: 11.75 kB / 0.9291 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.762e-05/0.1446, allocations: 15.98 kB / 0.9292 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1446, allocations: 45.33 kB / 0.9292 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1446, allocations: 0 / 0.9292 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.1448, allocations: 45.69 kB / 0.9293 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.1449, allocations: 51.41 kB / 0.9293 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.145, allocations: 165.9 kB / 0.9295 GB, free: 9.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.145, allocations: 25.7 kB / 0.9295 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.145, allocations: 142.8 kB / 0.9296 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.145, allocations: 3.953 kB / 0.9296 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1451, allocations: 27.31 kB / 0.9296 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1452, allocations: 0.4924 MB / 0.9301 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.1452, allocations: 4 kB / 0.9301 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.1452, allocations: 35.17 kB / 0.9302 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.1453, allocations: 35.06 kB / 0.9302 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1453, allocations: 0 / 0.9302 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.531e-05/0.1453, allocations: 53.62 kB / 0.9303 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1453, allocations: 4 kB / 0.9303 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1453, allocations: 4.094 kB / 0.9303 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1454, allocations: 4 kB / 0.9303 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.1454, allocations: 7.938 kB / 0.9303 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1454, allocations: 3.984 kB / 0.9303 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.1454, allocations: 4 kB / 0.9303 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.1454, allocations: 0 / 0.9303 GB, free: 8.355 MB / 0.8386 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 6.466e-05/0.1455, allocations: 164.5 kB / 0.9304 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1455, allocations: 0 / 0.9304 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1458, allocations: 7.312 kB / 0.9304 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1458, allocations: 4 kB / 0.9304 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1458, allocations: 4 kB / 0.9304 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1458, allocations: 0 / 0.9304 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.146, allocations: 419.9 kB / 0.9309 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.146, allocations: 0 / 0.9309 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.146, allocations: 4 kB / 0.9309 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.146, allocations: 0 / 0.9309 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.146, allocations: 4 kB / 0.9309 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.146, allocations: 4 kB / 0.9309 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1461, allocations: 3.984 kB / 0.9309 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.113e-05/0.1461, allocations: 96.06 kB / 0.931 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.1461, allocations: 0 / 0.931 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1461, allocations: 0 / 0.931 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.1462, allocations: 8 kB / 0.931 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1462, allocations: 3.938 kB / 0.931 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1462, allocations: 4 kB / 0.931 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.1462, allocations: 123.2 kB / 0.9311 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1462, allocations: 0 / 0.9311 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001294/0.1464, allocations: 8 kB / 0.9311 GB, free: 7.422 MB / 0.8386 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.00011/0.1465, allocations: 103.2 kB / 0.9312 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.333e-05/0.1465, allocations: 31.61 kB / 0.9312 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1465, allocations: 0 / 0.9312 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.1466, allocations: 11.69 kB / 0.9312 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.1467, allocations: 19.86 kB / 0.9313 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.1472, allocations: 142.2 kB / 0.9314 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.1472, allocations: 51.36 kB / 0.9314 GB, free: 7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.1473, allocations: 12.22 kB / 0.9315 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1473, allocations: 12.5 kB / 0.9315 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of SimCode: time 7.21e-07/0.1473, allocations: 0 / 0.9315 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of Templates: time 0.002399/0.1497, allocations: 0.7009 MB / 0.9321 GB, free: 6.293 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.237440465949476]