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.0008627/0.0008627, allocations: 76.31 kB / 21.47 MB, free: 3.039 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.0009423/0.0009423, allocations: 171.2 kB / 24.87 MB, free: 9.258 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.133 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.94/1.94, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.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.834e-06/1.834e-06, allocations: 0.875 kB / 0.8128 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.859e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1309/0.1309, allocations: 141 MB / 0.9505 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.1311, allocations: 51.69 kB / 0.9505 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.1311, allocations: 0 / 0.9505 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1312, allocations: 7.984 kB / 0.9505 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.573e-05/0.1313, allocations: 15.92 kB / 0.9505 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1317, allocations: 123.5 kB / 0.9507 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.1318, allocations: 31.84 kB / 0.9507 GB, free: 3.785 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1318, allocations: 4 kB / 0.9507 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.1319, allocations: 15.98 kB / 0.9507 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.1319, allocations: 15.97 kB / 0.9507 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.132, allocations: 7.938 kB / 0.9507 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.1322, allocations: 67.81 kB / 0.9508 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.1322, allocations: 11.92 kB / 0.9508 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1322, allocations: 7.984 kB / 0.9508 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1324, allocations: 75.78 kB / 0.9509 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1324, allocations: 0 / 0.9509 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1324, allocations: 0 / 0.9509 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.1324, allocations: 0 / 0.9509 GB, free: 3.582 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.0003557/0.1328, allocations: 364.6 kB / 0.9512 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1328, allocations: 8.031 kB / 0.9513 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.133, allocations: 36.8 kB / 0.9513 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.1331, allocations: 108.6 kB / 0.9514 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.1331, allocations: 55.97 kB / 0.9514 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.1331, allocations: 8.125 kB / 0.9515 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1332, allocations: 80.08 kB / 0.9515 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1332, allocations: 0 / 0.9515 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1333, allocations: 0 / 0.9515 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.1333, allocations: 8 kB / 0.9515 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.1333, allocations: 19.91 kB / 0.9516 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.1335, allocations: 236.4 kB / 0.9518 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/0.1336, allocations: 27.06 kB / 0.9518 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.154e-05/0.1336, allocations: 7.688 kB / 0.9518 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-06/0.1336, allocations: 0 / 0.9518 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1336, allocations: 37.45 kB / 0.9518 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1336, allocations: 0 / 0.9518 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001048/0.1337, allocations: 41.59 kB / 0.9519 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1337, allocations: 55.53 kB / 0.9519 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.1338, allocations: 165.9 kB / 0.9521 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.1338, allocations: 25.7 kB / 0.9521 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1339, allocations: 142.8 kB / 0.9523 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.1339, allocations: 7.891 kB / 0.9523 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1339, allocations: 23.38 kB / 0.9523 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.134, allocations: 496.1 kB / 0.9528 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.134, allocations: 4 kB / 0.9528 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.1341, allocations: 31.05 kB / 0.9528 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.1341, allocations: 42.98 kB / 0.9528 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1341, allocations: 0 / 0.9528 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.576e-05/0.1342, allocations: 45.64 kB / 0.9529 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1342, allocations: 10.17 kB / 0.9529 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1342, allocations: 4 kB / 0.9529 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.1342, allocations: 0 / 0.9529 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/0.1343, allocations: 4 kB / 0.9529 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1343, allocations: 7.938 kB / 0.9529 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.1343, allocations: 3.953 kB / 0.9529 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.1343, allocations: 8.094 kB / 0.9529 GB, free: 1.273 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.625e-05/0.1344, allocations: 160.5 kB / 0.9531 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.1344, allocations: 3.938 kB / 0.9531 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.1344, allocations: 7.156 kB / 0.9531 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1344, allocations: 0 / 0.9531 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1344, allocations: 3.984 kB / 0.9531 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1344, allocations: 0 / 0.9531 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1346, allocations: 377 kB / 0.9534 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1346, allocations: 0 / 0.9534 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.1346, allocations: 7.922 kB / 0.9535 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1346, allocations: 8.031 kB / 0.9535 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.1346, allocations: 256 / 0.9535 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.1346, allocations: 0 / 0.9535 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1346, allocations: 4 kB / 0.9535 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.301e-05/0.1347, allocations: 68.39 kB / 0.9535 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.1347, allocations: 3.953 kB / 0.9535 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1347, allocations: 3.984 kB / 0.9535 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.1347, allocations: 4 kB / 0.9535 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.1347, allocations: 0 / 0.9535 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-07/0.1348, allocations: 0 / 0.9535 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.1348, allocations: 135.2 kB / 0.9537 GB, free: 440 kB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1348, allocations: 0 / 0.9537 GB, free: 440 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001237/0.1349, allocations: 8 kB / 0.9537 GB, free: 432 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.256e-05/0.135, allocations: 99.23 kB / 0.9538 GB, free: 324 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.1351, allocations: 23.56 kB / 0.9538 GB, free: 296 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1351, allocations: 0 / 0.9538 GB, free: 296 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/0.1351, allocations: 11.69 kB / 0.9538 GB, free: 280 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.1352, allocations: 19.03 kB / 0.9538 GB, free: 264 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.1356, allocations: 110.3 kB / 0.9539 GB, free: 124 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.677e-05/0.1356, allocations: 55.36 kB / 0.954 GB, free: 48 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.1356, allocations: 8.078 kB / 0.954 GB, free: 40 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.1357, allocations: 86.17 kB / 0.9541 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of SimCode: time 7.21e-07/0.1357, allocations: 0 / 0.9541 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.002166/0.1379, allocations: 0.6196 MB / 0.9547 GB, free: 15.35 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.436696600168943]