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.0008748/0.0008748, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001009/0.001009, allocations: 172.7 kB / 24.87 MB, free: 9.285 MB / 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.9454/0.9454, allocations: 177.1 MB / 205.3 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.928/1.928, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.186e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1235/0.1235, allocations: 141.5 MB / 0.9509 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.1236, allocations: 43.81 kB / 0.9509 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.1237, allocations: 8 kB / 0.9509 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1238, allocations: 3.938 kB / 0.9509 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.1239, allocations: 15.91 kB / 0.9509 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.1245, allocations: 238.9 kB / 0.9512 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.1246, allocations: 31.86 kB / 0.9512 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.1246, allocations: 7.984 kB / 0.9512 GB, free: 3.234 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.1247, allocations: 19.98 kB / 0.9512 GB, free: 3.215 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.1247, allocations: 7.984 kB / 0.9512 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1247, allocations: 4 kB / 0.9512 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.125, allocations: 159.4 kB / 0.9514 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.125, allocations: 11.98 kB / 0.9514 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1251, allocations: 11.88 kB / 0.9514 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1252, allocations: 111.7 kB / 0.9515 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1252, allocations: 0 / 0.9515 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1252, allocations: 0 / 0.9515 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1252, allocations: 4 kB / 0.9515 GB, free: 2.91 MB / 0.9011 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.0003006/0.1255, allocations: 372.5 kB / 0.9519 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1256, allocations: 8.031 kB / 0.9519 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.1258, allocations: 44.67 kB / 0.9519 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.454e-05/0.1259, allocations: 104.6 kB / 0.952 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.1259, allocations: 55.97 kB / 0.9521 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1259, allocations: 12.12 kB / 0.9521 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.126, allocations: 76.09 kB / 0.9522 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.126, allocations: 4 kB / 0.9522 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.126, allocations: 0 / 0.9522 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.1261, allocations: 0 / 0.9522 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.1261, allocations: 11.98 kB / 0.9522 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.1263, allocations: 244.3 kB / 0.9524 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.1263, allocations: 31.06 kB / 0.9524 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.1263, allocations: 11.75 kB / 0.9525 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/0.1264, allocations: 19.98 kB / 0.9525 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1264, allocations: 33.39 kB / 0.9525 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.1264, allocations: 0 / 0.9525 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.1266, allocations: 65.5 kB / 0.9526 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.1266, allocations: 51.41 kB / 0.9526 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.1267, allocations: 161.9 kB / 0.9528 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1267, allocations: 25.7 kB / 0.9528 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1268, allocations: 134.8 kB / 0.9529 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.1268, allocations: 7.953 kB / 0.9529 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.1268, allocations: 27.48 kB / 0.953 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.1269, allocations: 492.1 kB / 0.9534 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.1269, allocations: 7.984 kB / 0.9534 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.1269, allocations: 27.06 kB / 0.9535 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.1269, allocations: 38.94 kB / 0.9535 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1269, allocations: 4 kB / 0.9535 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.249e-05/0.127, allocations: 49.62 kB / 0.9536 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.127, allocations: 8.094 kB / 0.9536 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.127, allocations: 4 kB / 0.9536 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.127, allocations: 0 / 0.9536 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.339e-05/0.1271, allocations: 4 kB / 0.9536 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1271, allocations: 4 kB / 0.9536 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.1271, allocations: 0 / 0.9536 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.1271, allocations: 0 / 0.9536 GB, free: 0.5742 MB / 0.9011 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 5.998e-05/0.1271, allocations: 172.3 kB / 0.9537 GB, free: 404 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1272, allocations: 7.938 kB / 0.9537 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.1272, allocations: 11.31 kB / 0.9538 GB, free: 384 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1272, allocations: 4 kB / 0.9538 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1272, allocations: 0 / 0.9538 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1272, allocations: 0 / 0.9538 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1274, allocations: 400.6 kB / 0.9541 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1274, allocations: 0 / 0.9541 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.1274, allocations: 4 kB / 0.9541 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1274, allocations: 0 / 0.9541 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.1274, allocations: 4 kB / 0.9541 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1274, allocations: 0 / 0.9541 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1274, allocations: 0 / 0.9541 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.305e-05/0.1274, allocations: 92.12 kB / 0.9542 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-06/0.1275, allocations: 0 / 0.9542 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.1275, allocations: 4 kB / 0.9542 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.1275, allocations: 7.938 kB / 0.9542 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.1275, allocations: 3.984 kB / 0.9542 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.1275, allocations: 0 / 0.9542 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.1275, allocations: 127.2 kB / 0.9544 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1275, allocations: 0 / 0.9544 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001239/0.1277, allocations: 8 kB / 0.9544 GB, free: 15.66 MB / 0.9167 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 9.086e-05/0.1278, allocations: 103.2 kB / 0.9545 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.653e-05/0.1278, allocations: 27.61 kB / 0.9545 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.1278, allocations: 0 / 0.9545 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-06/0.1278, allocations: 11.69 kB / 0.9545 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.128, allocations: 18.55 kB / 0.9545 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.1283, allocations: 134.3 kB / 0.9547 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.623e-05/0.1283, allocations: 59.34 kB / 0.9547 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.1283, allocations: 4.406 kB / 0.9547 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.1284, allocations: 86.17 kB / 0.9548 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.1284, allocations: 4 kB / 0.9548 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of Templates: time 0.002205/0.1306, allocations: 0.7825 MB / 0.9556 GB, free: 14.39 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.257777058985084]