Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.0009845/0.0009845, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001298/0.001298, allocations: 185.3 kB / 24.09 MB, free: 416 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 1.049/1.049, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.868/1.868, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.43e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.13/0.13, allocations: 141 MB / 0.9497 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001311/0.1301, allocations: 51.75 kB / 0.9498 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.1302, allocations: 0 / 0.9498 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1303, allocations: 15.92 kB / 0.9498 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.1304, allocations: 7.922 kB / 0.9498 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1308, allocations: 119.6 kB / 0.9499 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.1309, allocations: 31.84 kB / 0.9499 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.131, allocations: 7.938 kB / 0.9499 GB, free: 3.727 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.131, allocations: 23.97 kB / 0.95 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.1311, allocations: 11.98 kB / 0.95 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1311, allocations: 0 / 0.95 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1314, allocations: 79.67 kB / 0.95 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.1314, allocations: 7.984 kB / 0.9501 GB, free: 3.605 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.1314, allocations: 4 kB / 0.9501 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1316, allocations: 79.72 kB / 0.9501 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1316, allocations: 0 / 0.9501 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1316, allocations: 0 / 0.9501 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1316, allocations: 0 / 0.9501 GB, free: 3.523 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.0003658/0.132, allocations: 368.6 kB / 0.9505 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.132, allocations: 12.03 kB / 0.9505 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.1322, allocations: 28.81 kB / 0.9505 GB, free: 3.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.748e-05/0.1323, allocations: 116.5 kB / 0.9506 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.1323, allocations: 51.97 kB / 0.9507 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1323, allocations: 8.125 kB / 0.9507 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1324, allocations: 80.09 kB / 0.9508 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.1324, allocations: 4 kB / 0.9508 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1324, allocations: 0 / 0.9508 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1325, allocations: 0 / 0.9508 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.1325, allocations: 11.98 kB / 0.9508 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.133, allocations: 244.3 kB / 0.951 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.093e-05/0.133, allocations: 31 kB / 0.951 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.132e-05/0.133, allocations: 7.688 kB / 0.9511 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.133, allocations: 0 / 0.9511 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.133, allocations: 33.39 kB / 0.9511 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.133, allocations: 4.062 kB / 0.9511 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001017/0.1331, allocations: 45.59 kB / 0.9511 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1332, allocations: 51.41 kB / 0.9512 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.1332, allocations: 165.9 kB / 0.9513 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1332, allocations: 25.7 kB / 0.9514 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.1333, allocations: 130.8 kB / 0.9515 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.1333, allocations: 11.89 kB / 0.9515 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1333, allocations: 27.36 kB / 0.9515 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1334, allocations: 0.4883 MB / 0.952 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.1334, allocations: 0 / 0.952 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.1335, allocations: 31.19 kB / 0.952 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.1335, allocations: 42.98 kB / 0.9521 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1335, allocations: 0 / 0.9521 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.157e-05/0.1336, allocations: 45.64 kB / 0.9521 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1336, allocations: 6.656 kB / 0.9521 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1336, allocations: 0 / 0.9521 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1336, allocations: 4 kB / 0.9521 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.1336, allocations: 12.08 kB / 0.9521 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.1336, allocations: 0 / 0.9521 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.1337, allocations: 11.95 kB / 0.9521 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.1337, allocations: 0 / 0.9521 GB, free: 1.219 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 6.409e-05/0.1337, allocations: 164.5 kB / 0.9523 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.1337, allocations: 0 / 0.9523 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.1338, allocations: 3.156 kB / 0.9523 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1338, allocations: 256 / 0.9523 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1338, allocations: 4 kB / 0.9523 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1338, allocations: 4 kB / 0.9523 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.134, allocations: 388.9 kB / 0.9527 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.134, allocations: 0 / 0.9527 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-06/0.134, allocations: 0 / 0.9527 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.134, allocations: 0 / 0.9527 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.134, allocations: 0 / 0.9527 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.134, allocations: 7.922 kB / 0.9527 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.134, allocations: 4 kB / 0.9527 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.15e-05/0.134, allocations: 68.33 kB / 0.9528 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.134, allocations: 8.047 kB / 0.9528 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.134, allocations: 0 / 0.9528 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.1341, allocations: 16.03 kB / 0.9528 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.1341, allocations: 0 / 0.9528 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.1341, allocations: 0 / 0.9528 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.1341, allocations: 127.2 kB / 0.9529 GB, free: 376 kB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 0.9529 GB, free: 376 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001219/0.1343, allocations: 8 kB / 0.9529 GB, free: 368 kB / 0.9011 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 (1): * Single equations (assignments): 1 * 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 8.695e-05/0.1343, allocations: 95.25 kB / 0.953 GB, free: 264 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.865e-05/0.1344, allocations: 27.55 kB / 0.953 GB, free: 232 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1344, allocations: 192 / 0.953 GB, free: 232 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.1344, allocations: 11.69 kB / 0.953 GB, free: 216 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.1346, allocations: 11.98 kB / 0.9531 GB, free: 204 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.1349, allocations: 118.3 kB / 0.9532 GB, free: 56 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.135, allocations: 55.36 kB / 0.9532 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.135, allocations: 4.062 kB / 0.9532 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.1351, allocations: 86.17 kB / 0.9533 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of SimCode: time 1.113e-06/0.1351, allocations: 0 / 0.9533 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of Templates: time 0.001929/0.137, allocations: 0.6136 MB / 0.9539 GB, free: 15.29 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.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.170887982007116]