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.001064/0.001064, allocations: 87.58 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.0009944/0.0009944, allocations: 161 kB / 23.82 MB, free: 0.75 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.033/1.033, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.999/1.999, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.883e-06/1.883e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.261e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1372/0.1372, allocations: 143.7 MB / 0.9519 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.1373, allocations: 55.73 kB / 0.9519 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.1374, allocations: 0 / 0.9519 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.1375, allocations: 0 / 0.9519 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1376, allocations: 15.86 kB / 0.9519 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.1381, allocations: 123.5 kB / 0.9521 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.1382, allocations: 31.86 kB / 0.9521 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.1382, allocations: 4 kB / 0.9521 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.1382, allocations: 15.97 kB / 0.9521 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.1383, allocations: 15.92 kB / 0.9521 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1383, allocations: 0 / 0.9521 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.1385, allocations: 75.78 kB / 0.9522 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.1386, allocations: 11.94 kB / 0.9522 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.1386, allocations: 11.98 kB / 0.9522 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1388, allocations: 67.8 kB / 0.9523 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1388, allocations: 0 / 0.9523 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1388, allocations: 0 / 0.9523 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.1388, allocations: 0 / 0.9523 GB, free: 1.117 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.0004154/0.1392, allocations: 376.5 kB / 0.9526 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1392, allocations: 8.031 kB / 0.9526 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.1395, allocations: 32.81 kB / 0.9527 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.53e-05/0.1396, allocations: 112.6 kB / 0.9528 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.1396, allocations: 55.97 kB / 0.9528 GB, free: 484 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1397, allocations: 4.125 kB / 0.9528 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1398, allocations: 80.08 kB / 0.9529 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1398, allocations: 3.938 kB / 0.9529 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1398, allocations: 4 kB / 0.9529 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1399, allocations: 4 kB / 0.9529 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.1399, allocations: 11.98 kB / 0.9529 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1402, allocations: 255.8 kB / 0.9532 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.831e-05/0.1402, allocations: 27.06 kB / 0.9532 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.1403, allocations: 11.72 kB / 0.9532 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.1403, allocations: 0 / 0.9532 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1403, allocations: 41.39 kB / 0.9533 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1403, allocations: 4 kB / 0.9533 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.1404, allocations: 37.66 kB / 0.9533 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1405, allocations: 51.41 kB / 0.9533 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.1406, allocations: 165.9 kB / 0.9535 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1406, allocations: 25.7 kB / 0.9535 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.1406, allocations: 139 kB / 0.9537 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.1406, allocations: 7.891 kB / 0.9537 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1407, allocations: 23.38 kB / 0.9537 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1408, allocations: 0.4883 MB / 0.9542 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.1408, allocations: 8 kB / 0.9542 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.1408, allocations: 31 kB / 0.9542 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.1408, allocations: 35.06 kB / 0.9542 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1408, allocations: 0 / 0.9542 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.208e-05/0.1409, allocations: 53.62 kB / 0.9543 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1409, allocations: 8 kB / 0.9543 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1409, allocations: 0 / 0.9543 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1409, allocations: 0 / 0.9543 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.141, allocations: 15.92 kB / 0.9543 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.141, allocations: 3.938 kB / 0.9543 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.141, allocations: 3.953 kB / 0.9543 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.141, allocations: 4 kB / 0.9543 GB, free: 14.77 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 6.376e-05/0.1411, allocations: 156.5 kB / 0.9545 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1411, allocations: 8.094 kB / 0.9545 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.1411, allocations: 7.156 kB / 0.9545 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1411, allocations: 0 / 0.9545 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1411, allocations: 0 / 0.9545 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1411, allocations: 0 / 0.9545 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1414, allocations: 404.3 kB / 0.9549 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1414, allocations: 0 / 0.9549 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.1414, allocations: 0 / 0.9549 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1414, allocations: 3.984 kB / 0.9549 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1414, allocations: 0 / 0.9549 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1414, allocations: 32 / 0.9549 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1414, allocations: 4 kB / 0.9549 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.634e-05/0.1414, allocations: 72.39 kB / 0.955 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.1414, allocations: 8.047 kB / 0.955 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1415, allocations: 0 / 0.955 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.1415, allocations: 8.219 kB / 0.955 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1415, allocations: 8 kB / 0.955 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1415, allocations: 3.938 kB / 0.955 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.1416, allocations: 127.1 kB / 0.9551 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1416, allocations: 0 / 0.9551 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001261/0.1417, allocations: 8 kB / 0.9551 GB, free: 13.89 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 9.37e-05/0.1418, allocations: 107.3 kB / 0.9552 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.1419, allocations: 15.69 kB / 0.9552 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1419, allocations: 0 / 0.9552 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.1419, allocations: 11.62 kB / 0.9552 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.142, allocations: 15.98 kB / 0.9553 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.1425, allocations: 110.6 kB / 0.9554 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.1425, allocations: 59.3 kB / 0.9554 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.1426, allocations: 7.984 kB / 0.9554 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.1426, allocations: 8.5 kB / 0.9554 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of SimCode: time 1.322e-06/0.1426, allocations: 0 / 0.9554 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of Templates: time 0.002594/0.1452, allocations: 0.5647 MB / 0.956 GB, free: 12.95 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.54950236203149]