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.001024/0.001024, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001119/0.001119, allocations: 168.3 kB / 24.86 MB, free: 9.27 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.9434/0.9434, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.794/1.794, allocations: 359 MB / 0.6063 GB, free: 10.92 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.543e-06/1.543e-06, allocations: 0 / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.694e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1321/0.1321, allocations: 141.5 MB / 0.9264 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.1323, allocations: 55.69 kB / 0.9265 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1323, allocations: 4 kB / 0.9265 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1324, allocations: 7.984 kB / 0.9265 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.1325, allocations: 0 / 0.9265 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.1331, allocations: 238.9 kB / 0.9267 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.86e-05/0.1332, allocations: 35.84 kB / 0.9268 GB, free: 14 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.1333, allocations: 0 / 0.9268 GB, free: 14 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.1333, allocations: 19.98 kB / 0.9268 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.1334, allocations: 15.91 kB / 0.9268 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1334, allocations: 8 kB / 0.9268 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.1337, allocations: 163.4 kB / 0.927 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1337, allocations: 11.92 kB / 0.927 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.1337, allocations: 7.984 kB / 0.927 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1341, allocations: 119.6 kB / 0.9271 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1341, allocations: 0 / 0.9271 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1341, allocations: 0 / 0.9271 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1341, allocations: 0 / 0.9271 GB, free: 13.66 MB / 0.8855 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.0003264/0.1345, allocations: 364.2 kB / 0.9274 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1345, allocations: 8.031 kB / 0.9274 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.1348, allocations: 41.14 kB / 0.9275 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.1349, allocations: 108.6 kB / 0.9276 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.1349, allocations: 59.97 kB / 0.9276 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1349, allocations: 4.125 kB / 0.9276 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.135, allocations: 80.08 kB / 0.9277 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.135, allocations: 0 / 0.9277 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.135, allocations: 0 / 0.9277 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1351, allocations: 0 / 0.9277 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.1351, allocations: 11.94 kB / 0.9277 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.1353, allocations: 244.4 kB / 0.928 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.328e-05/0.1354, allocations: 31.05 kB / 0.928 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.1354, allocations: 11.75 kB / 0.928 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.871e-05/0.1355, allocations: 15.98 kB / 0.928 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1355, allocations: 33.39 kB / 0.9281 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1355, allocations: 0 / 0.9281 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.1357, allocations: 65.61 kB / 0.9281 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1357, allocations: 51.41 kB / 0.9282 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.1358, allocations: 157.9 kB / 0.9283 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1358, allocations: 25.7 kB / 0.9283 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.1358, allocations: 142.8 kB / 0.9285 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-06/0.1358, allocations: 3.953 kB / 0.9285 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1359, allocations: 19.38 kB / 0.9285 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.136, allocations: 0.4883 MB / 0.929 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.136, allocations: 4 kB / 0.929 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.136, allocations: 39.22 kB / 0.929 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.1361, allocations: 42.95 kB / 0.9291 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1361, allocations: 0 / 0.9291 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.297e-05/0.1361, allocations: 49.64 kB / 0.9291 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1362, allocations: 4 kB / 0.9291 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1362, allocations: 4 kB / 0.9291 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.1362, allocations: 0 / 0.9291 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.1362, allocations: 7.984 kB / 0.9291 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1362, allocations: 12.03 kB / 0.9291 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.1362, allocations: 0 / 0.9291 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.1362, allocations: 0 / 0.9291 GB, free: 11.32 MB / 0.8855 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.737e-05/0.1363, allocations: 164.5 kB / 0.9293 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1363, allocations: 7.953 kB / 0.9293 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.1364, allocations: 11.31 kB / 0.9293 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1364, allocations: 0 / 0.9293 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-06/0.1364, allocations: 0 / 0.9293 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1364, allocations: 0 / 0.9293 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1366, allocations: 400.6 kB / 0.9297 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1366, allocations: 4.062 kB / 0.9297 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.1366, allocations: 7.984 kB / 0.9297 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1366, allocations: 0 / 0.9297 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1366, allocations: 4 kB / 0.9297 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1366, allocations: 0 / 0.9297 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1366, allocations: 0 / 0.9297 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.1367, allocations: 88.02 kB / 0.9298 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.1367, allocations: 3.984 kB / 0.9298 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1367, allocations: 0 / 0.9298 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.1368, allocations: 4 kB / 0.9298 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-06/0.1368, allocations: 4.031 kB / 0.9298 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1368, allocations: 0 / 0.9298 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.1368, allocations: 123.2 kB / 0.9299 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1368, allocations: 0 / 0.9299 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001798/0.137, allocations: 11.98 kB / 0.9299 GB, free: 10.42 MB / 0.8855 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.1371, allocations: 103.2 kB / 0.93 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.223e-05/0.1372, allocations: 23.69 kB / 0.93 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1372, allocations: 4.062 kB / 0.9301 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.1372, allocations: 15.67 kB / 0.9301 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1374, allocations: 13.48 kB / 0.9301 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.1377, allocations: 134.1 kB / 0.9302 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.1377, allocations: 55.36 kB / 0.9303 GB, free: 10 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.1378, allocations: 4.125 kB / 0.9303 GB, free: 10 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.1379, allocations: 86.17 kB / 0.9303 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.1379, allocations: 0 / 0.9303 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of Templates: time 0.002581/0.1404, allocations: 0.7987 MB / 0.9311 GB, free: 9.129 MB / 0.8855 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.136195714119822]