Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001522/0.001522, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001571/0.001571, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9797/0.9797, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.812/1.812, allocations: 359 MB / 0.6052 GB, free: 11.03 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.698e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1381/0.1381, allocations: 143.7 MB / 0.9274 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.1383, allocations: 55.67 kB / 0.9275 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.1383, allocations: 0 / 0.9275 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.1385, allocations: 4 kB / 0.9275 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1386, allocations: 11.92 kB / 0.9275 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.1391, allocations: 123.5 kB / 0.9276 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.161e-05/0.1392, allocations: 27.86 kB / 0.9276 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.1392, allocations: 7.984 kB / 0.9276 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.1393, allocations: 19.92 kB / 0.9277 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.1393, allocations: 11.98 kB / 0.9277 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1394, allocations: 3.984 kB / 0.9277 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1396, allocations: 75.73 kB / 0.9278 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.1396, allocations: 8 kB / 0.9278 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.1396, allocations: 11.98 kB / 0.9278 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1398, allocations: 75.72 kB / 0.9278 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1398, allocations: 0 / 0.9278 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1398, allocations: 0 / 0.9278 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1398, allocations: 0 / 0.9278 GB, free: 11.88 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.0004564/0.1403, allocations: 364.2 kB / 0.9282 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1403, allocations: 12.02 kB / 0.9282 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.1406, allocations: 29.16 kB / 0.9282 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.1406, allocations: 116.6 kB / 0.9283 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.1407, allocations: 55.97 kB / 0.9284 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1407, allocations: 4.125 kB / 0.9284 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1409, allocations: 76.09 kB / 0.9285 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1409, allocations: 3.984 kB / 0.9285 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1409, allocations: 0 / 0.9285 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.1409, allocations: 4 kB / 0.9285 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.399e-05/0.1409, allocations: 11.94 kB / 0.9285 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.1413, allocations: 263.8 kB / 0.9287 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.1413, allocations: 27.06 kB / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.1413, allocations: 7.688 kB / 0.9288 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.1413, allocations: 0 / 0.9288 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1414, allocations: 33.39 kB / 0.9288 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1414, allocations: 0 / 0.9288 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.1415, allocations: 45.64 kB / 0.9289 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.1415, allocations: 51.41 kB / 0.9289 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.1416, allocations: 173.9 kB / 0.9291 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1416, allocations: 29.77 kB / 0.9291 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.1417, allocations: 138.8 kB / 0.9292 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.1417, allocations: 7.891 kB / 0.9292 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1417, allocations: 23.38 kB / 0.9293 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1418, allocations: 496.1 kB / 0.9297 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.1418, allocations: 7.984 kB / 0.9297 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.1419, allocations: 31.06 kB / 0.9298 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.1419, allocations: 31 kB / 0.9298 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1419, allocations: 4 kB / 0.9298 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.838e-05/0.142, allocations: 53.62 kB / 0.9299 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.142, allocations: 8 kB / 0.9299 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.142, allocations: 0 / 0.9299 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.142, allocations: 0 / 0.9299 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.1421, allocations: 12 kB / 0.9299 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1421, allocations: 3.938 kB / 0.9299 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.1421, allocations: 3.953 kB / 0.9299 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1421, allocations: 7.984 kB / 0.9299 GB, free: 9.543 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.742e-05/0.1422, allocations: 156.6 kB / 0.93 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1422, allocations: 8 kB / 0.93 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.1422, allocations: 3.156 kB / 0.93 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1422, allocations: 0 / 0.93 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1422, allocations: 0 / 0.93 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1422, allocations: 96 / 0.93 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1424, allocations: 400.3 kB / 0.9304 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1424, allocations: 7.984 kB / 0.9304 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.1425, allocations: 3.938 kB / 0.9304 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1425, allocations: 0 / 0.9304 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1425, allocations: 0 / 0.9304 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1425, allocations: 4.031 kB / 0.9304 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1425, allocations: 0 / 0.9304 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.288e-05/0.1425, allocations: 72.38 kB / 0.9305 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.1425, allocations: 4 kB / 0.9305 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1425, allocations: 0 / 0.9305 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.1426, allocations: 0 / 0.9305 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1426, allocations: 11.98 kB / 0.9305 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1426, allocations: 4.188 kB / 0.9305 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.1426, allocations: 131.1 kB / 0.9307 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1426, allocations: 0 / 0.9307 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001306/0.1428, allocations: 12.03 kB / 0.9307 GB, free: 8.66 MB / 0.8855 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.36e-05/0.1429, allocations: 95.25 kB / 0.9308 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.1429, allocations: 27.61 kB / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1429, allocations: 0 / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.1429, allocations: 7.688 kB / 0.9308 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.1431, allocations: 13.83 kB / 0.9308 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.1435, allocations: 130.7 kB / 0.9309 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.1436, allocations: 59.3 kB / 0.931 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.1436, allocations: 4 kB / 0.931 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1437, allocations: 8.5 kB / 0.931 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.1437, allocations: 0 / 0.931 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of Templates: time 0.002255/0.1459, allocations: 0.5585 MB / 0.9315 GB, free: 7.715 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.176680883858353]