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.00106/0.00106, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001176/0.001176, allocations: 165 kB / 23.82 MB, free: 0.7539 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 1.037/1.037, allocations: 177.1 MB / 204.2 MB, free: 5.191 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.832/1.832, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.393e-06/1.393e-06, allocations: 0.5469 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.75e-05, allocations: 7.156 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1449/0.145, allocations: 143.7 MB / 0.9519 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.1451, allocations: 55.75 kB / 0.9519 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1451, allocations: 0 / 0.9519 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.1452, allocations: 3.938 kB / 0.9519 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.1453, allocations: 15.91 kB / 0.9519 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1456, allocations: 115.5 kB / 0.9521 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.1457, allocations: 43.84 kB / 0.9521 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 2.604e-05/0.1457, allocations: 3.984 kB / 0.9521 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.1457, allocations: 19.97 kB / 0.9521 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.1458, allocations: 7.938 kB / 0.9521 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1458, allocations: 0 / 0.9521 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.146, allocations: 83.66 kB / 0.9522 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.146, allocations: 11.98 kB / 0.9522 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.146, allocations: 8 kB / 0.9522 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1461, allocations: 63.84 kB / 0.9523 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1461, allocations: 0 / 0.9523 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1462, allocations: 4 kB / 0.9523 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1462, allocations: 3.938 kB / 0.9523 GB, free: 1.156 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.000315/0.1465, allocations: 364.6 kB / 0.9526 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1465, allocations: 8.031 kB / 0.9526 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.1467, allocations: 32.81 kB / 0.9527 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.905e-05/0.1468, allocations: 112.6 kB / 0.9528 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.1468, allocations: 59.94 kB / 0.9528 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1468, allocations: 4.125 kB / 0.9528 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1469, allocations: 84.08 kB / 0.9529 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1469, allocations: 0 / 0.9529 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1469, allocations: 0 / 0.9529 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.147, allocations: 8 kB / 0.9529 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.33e-05/0.147, allocations: 11.98 kB / 0.9529 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.1473, allocations: 255.8 kB / 0.9532 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.192e-05/0.1473, allocations: 31 kB / 0.9532 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.1473, allocations: 7.688 kB / 0.9532 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-06/0.1473, allocations: 4 kB / 0.9532 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1473, allocations: 37.45 kB / 0.9533 GB, free: 8 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1473, allocations: 0 / 0.9533 GB, free: 8 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.1475, allocations: 41.78 kB / 0.9533 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.1475, allocations: 51.41 kB / 0.9534 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1477, allocations: 165.9 kB / 0.9535 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1477, allocations: 25.7 kB / 0.9535 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.1477, allocations: 134.8 kB / 0.9537 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.1477, allocations: 7.891 kB / 0.9537 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1477, allocations: 27.36 kB / 0.9537 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.1478, allocations: 496 kB / 0.9542 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.1478, allocations: 12 kB / 0.9542 GB, free: 15 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.1479, allocations: 27.06 kB / 0.9542 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.1479, allocations: 42.98 kB / 0.9543 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1479, allocations: 0 / 0.9543 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.022e-05/0.1479, allocations: 49.64 kB / 0.9543 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.148, allocations: 4 kB / 0.9543 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.148, allocations: 4.094 kB / 0.9543 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.148, allocations: 7.922 kB / 0.9543 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.924e-05/0.148, allocations: 8 kB / 0.9543 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.148, allocations: 0 / 0.9543 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.148, allocations: 7.953 kB / 0.9543 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.148, allocations: 0 / 0.9543 GB, free: 14.82 MB / 0.9167 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.353e-05/0.1481, allocations: 156.5 kB / 0.9545 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.1481, allocations: 7.938 kB / 0.9545 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.1481, allocations: 7.406 kB / 0.9545 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1481, allocations: 0 / 0.9545 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1481, allocations: 4 kB / 0.9545 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1481, allocations: 11.98 kB / 0.9545 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1483, allocations: 396.3 kB / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1483, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-06/0.1483, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1483, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.1483, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1483, allocations: 4 kB / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1483, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.448e-05/0.1484, allocations: 72.33 kB / 0.955 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.1484, allocations: 8.047 kB / 0.955 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.1484, allocations: 4 kB / 0.955 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.1484, allocations: 4 kB / 0.955 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.1484, allocations: 3.938 kB / 0.955 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.1484, allocations: 0 / 0.955 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.1485, allocations: 123.2 kB / 0.9551 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1485, allocations: 0 / 0.9551 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001174/0.1486, allocations: 8 kB / 0.9551 GB, free: 13.95 MB / 0.9167 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 6.81e-05/0.1487, allocations: 103.2 kB / 0.9552 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.863e-05/0.1487, allocations: 23.62 kB / 0.9552 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1487, allocations: 0 / 0.9552 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.1487, allocations: 11.69 kB / 0.9552 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1489, allocations: 7.984 kB / 0.9552 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1492, allocations: 122.2 kB / 0.9554 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.49e-05/0.1492, allocations: 55.36 kB / 0.9554 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.1493, allocations: 16.31 kB / 0.9554 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.1493, allocations: 8.5 kB / 0.9554 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of SimCode: time 6.72e-07/0.1493, allocations: 3.938 kB / 0.9554 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of Templates: time 0.001876/0.1511, allocations: 0.5933 MB / 0.956 GB, free: 12.96 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.20271269697696]