Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009616/0.0009616, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001002/0.001002, allocations: 173 kB / 23.49 MB, free: 1.055 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.156/2.156, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.736e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1534/0.1534, allocations: 143.4 MB / 1.018 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.1536, allocations: 55.67 kB / 1.018 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.1536, allocations: 0 / 1.018 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1538, allocations: 0 / 1.018 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1539, allocations: 19.91 kB / 1.018 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.1544, allocations: 103.5 kB / 1.018 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1545, allocations: 39.84 kB / 1.018 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.1546, allocations: 7.984 kB / 1.018 GB, free: 6.5 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.1547, allocations: 23.92 kB / 1.018 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.1547, allocations: 11.98 kB / 1.018 GB, free: 6.465 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1548, allocations: 0 / 1.018 GB, free: 6.465 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.155, allocations: 67.73 kB / 1.019 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.1551, allocations: 15.97 kB / 1.019 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.1551, allocations: 7.938 kB / 1.019 GB, free: 6.375 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1553, allocations: 71.84 kB / 1.019 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1553, allocations: 0 / 1.019 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1553, allocations: 4 kB / 1.019 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1553, allocations: 0 / 1.019 GB, free: 6.301 MB / 0.9792 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.0004105/0.1557, allocations: 368.5 kB / 1.019 GB, free: 5.906 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1557, allocations: 12.03 kB / 1.019 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.156, allocations: 24.86 kB / 1.019 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.1561, allocations: 104.6 kB / 1.019 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.1561, allocations: 55.95 kB / 1.019 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.1561, allocations: 8.125 kB / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1563, allocations: 88.03 kB / 1.019 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1563, allocations: 0 / 1.019 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1563, allocations: 0 / 1.019 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.1563, allocations: 4 kB / 1.019 GB, free: 5.562 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.1564, allocations: 11.92 kB / 1.019 GB, free: 5.551 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1567, allocations: 267.7 kB / 1.02 GB, free: 5.254 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.1568, allocations: 23.06 kB / 1.02 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.1568, allocations: 11.75 kB / 1.02 GB, free: 5.203 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.1568, allocations: 4 kB / 1.02 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1568, allocations: 37.39 kB / 1.02 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1568, allocations: 0 / 1.02 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.157, allocations: 37.64 kB / 1.02 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.157, allocations: 51.41 kB / 1.02 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.1571, allocations: 169.9 kB / 1.02 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1571, allocations: 25.7 kB / 1.02 GB, free: 4.832 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.1571, allocations: 138.8 kB / 1.02 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.1572, allocations: 3.938 kB / 1.02 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1572, allocations: 23.36 kB / 1.02 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1573, allocations: 0.4963 MB / 1.021 GB, free: 4.148 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.1573, allocations: 0 / 1.021 GB, free: 4.148 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.1574, allocations: 27.06 kB / 1.021 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.1574, allocations: 42.98 kB / 1.021 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1574, allocations: 0 / 1.021 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.557e-05/0.1575, allocations: 53.59 kB / 1.021 GB, free: 3.996 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1575, allocations: 4 kB / 1.021 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1575, allocations: 8.094 kB / 1.021 GB, free: 3.984 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1575, allocations: 3.984 kB / 1.021 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.1576, allocations: 4 kB / 1.021 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1576, allocations: 4 kB / 1.021 GB, free: 3.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.1576, allocations: 0 / 1.021 GB, free: 3.973 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1576, allocations: 4 kB / 1.021 GB, free: 3.969 MB / 0.9792 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 7.045e-05/0.1577, allocations: 164.5 kB / 1.021 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.1577, allocations: 0 / 1.021 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.1577, allocations: 7.25 kB / 1.021 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1577, allocations: 3.984 kB / 1.021 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1577, allocations: 3.938 kB / 1.021 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1577, allocations: 7.984 kB / 1.021 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1579, allocations: 396.3 kB / 1.021 GB, free: 3.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.1579, allocations: 0 / 1.021 GB, free: 3.336 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-06/0.1579, allocations: 4 kB / 1.021 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1579, allocations: 0 / 1.021 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1579, allocations: 0 / 1.021 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.1579, allocations: 0 / 1.021 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1579, allocations: 3.938 kB / 1.021 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1581, allocations: 76.34 kB / 1.021 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.1581, allocations: 12.05 kB / 1.021 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1581, allocations: 4 kB / 1.021 GB, free: 3.215 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.1582, allocations: 0 / 1.021 GB, free: 3.215 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1582, allocations: 0 / 1.021 GB, free: 3.215 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1582, allocations: 4.188 kB / 1.021 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.1582, allocations: 135.2 kB / 1.021 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1582, allocations: 0 / 1.021 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001232/0.1583, allocations: 4 kB / 1.021 GB, free: 3.074 MB / 0.9792 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.241e-05/0.1584, allocations: 99.23 kB / 1.022 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.1585, allocations: 23.62 kB / 1.022 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1585, allocations: 0 / 1.022 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.1585, allocations: 11.69 kB / 1.022 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.1587, allocations: 11.98 kB / 1.022 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.1591, allocations: 118.3 kB / 1.022 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.1592, allocations: 55.3 kB / 1.022 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.1592, allocations: 12.23 kB / 1.022 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.1592, allocations: 12.5 kB / 1.022 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of SimCode: time 6.01e-07/0.1592, allocations: 0 / 1.022 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of Templates: time 0.002271/0.1615, allocations: 0.5645 MB / 1.022 GB, free: 2.156 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.687620349926874]