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.001515/0.001515, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001862/0.001862, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.537/2.537, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.463e-06/1.463e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.84e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1427/0.1427, allocations: 143.2 MB / 0.9784 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.1429, allocations: 59.67 kB / 0.9785 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1429, allocations: 0 / 0.9785 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.143, allocations: 0 / 0.9785 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.1431, allocations: 19.86 kB / 0.9785 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.1436, allocations: 119.5 kB / 0.9786 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.1436, allocations: 31.86 kB / 0.9786 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1437, allocations: 7.984 kB / 0.9786 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.1437, allocations: 15.98 kB / 0.9787 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.1438, allocations: 11.98 kB / 0.9787 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1438, allocations: 0 / 0.9787 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.144, allocations: 75.72 kB / 0.9787 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.1441, allocations: 8 kB / 0.9787 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.1441, allocations: 19.91 kB / 0.9788 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1443, allocations: 71.8 kB / 0.9788 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1443, allocations: 0 / 0.9788 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1443, allocations: 0 / 0.9788 GB, free: 14.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1443, allocations: 0 / 0.9788 GB, free: 14.01 MB / 0.948 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.0002871/0.1446, allocations: 236.6 kB / 0.9791 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1446, allocations: 8.031 kB / 0.9791 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.1448, allocations: 28.86 kB / 0.9791 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.1449, allocations: 113.8 kB / 0.9792 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.1449, allocations: 59.95 kB / 0.9793 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1449, allocations: 4.125 kB / 0.9793 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1451, allocations: 78.92 kB / 0.9793 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1451, allocations: 3.938 kB / 0.9793 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1451, allocations: 0 / 0.9793 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.1451, allocations: 4 kB / 0.9793 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.1451, allocations: 15.91 kB / 0.9794 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.1454, allocations: 165.9 kB / 0.9795 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.998e-05/0.1454, allocations: 18.58 kB / 0.9795 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.1454, allocations: 8.922 kB / 0.9795 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.1454, allocations: 0 / 0.9795 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1454, allocations: 34.5 kB / 0.9796 GB, free: 13.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1454, allocations: 0 / 0.9796 GB, free: 13.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001004/0.1455, allocations: 37.73 kB / 0.9796 GB, free: 13.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1456, allocations: 55.41 kB / 0.9797 GB, free: 13.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.1456, allocations: 102.7 kB / 0.9798 GB, free: 12.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1456, allocations: 25.7 kB / 0.9798 GB, free: 12.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.1457, allocations: 104 kB / 0.9799 GB, free: 12.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.1457, allocations: 4.125 kB / 0.9799 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1457, allocations: 17.72 kB / 0.9799 GB, free: 12.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.1458, allocations: 310.8 kB / 0.9802 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-06/0.1458, allocations: 4 kB / 0.9802 GB, free: 12.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.1458, allocations: 30.5 kB / 0.9802 GB, free: 12.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.1459, allocations: 33.33 kB / 0.9803 GB, free: 12.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1459, allocations: 0 / 0.9803 GB, free: 12.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.741e-05/0.1459, allocations: 49.62 kB / 0.9803 GB, free: 12.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.146, allocations: 4 kB / 0.9803 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.146, allocations: 4 kB / 0.9803 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.146, allocations: 0 / 0.9803 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.146, allocations: 7.938 kB / 0.9803 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.146, allocations: 7.984 kB / 0.9803 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.1461, allocations: 0 / 0.9803 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.1461, allocations: 0 / 0.9803 GB, free: 12.27 MB / 0.948 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.068e-05/0.1461, allocations: 120.6 kB / 0.9805 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1461, allocations: 0 / 0.9805 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.1462, allocations: 11.25 kB / 0.9805 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1462, allocations: 0 / 0.9805 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1462, allocations: 0 / 0.9805 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1462, allocations: 0 / 0.9805 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1464, allocations: 262.8 kB / 0.9807 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1464, allocations: 0 / 0.9807 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-06/0.1464, allocations: 256 / 0.9807 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1464, allocations: 7.938 kB / 0.9807 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.1464, allocations: 4 kB / 0.9807 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1464, allocations: 0 / 0.9807 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1464, allocations: 0 / 0.9807 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.16e-05/0.1464, allocations: 73.08 kB / 0.9808 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.1464, allocations: 0 / 0.9808 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1464, allocations: 0 / 0.9808 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.1465, allocations: 7.984 kB / 0.9808 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-06/0.1465, allocations: 0 / 0.9808 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.1465, allocations: 0 / 0.9808 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.464e-05/0.1465, allocations: 12.8 kB / 0.9808 GB, free: 11.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1465, allocations: 0 / 0.9808 GB, free: 11.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000159/0.1467, allocations: 8 kB / 0.9808 GB, free: 11.71 MB / 0.948 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.898e-05/0.1468, allocations: 80.45 kB / 0.9809 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.1468, allocations: 20.84 kB / 0.9809 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1468, allocations: 0 / 0.9809 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-06/0.1468, allocations: 8.797 kB / 0.9809 GB, free: 11.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.147, allocations: 15.88 kB / 0.9809 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.1473, allocations: 123.7 kB / 0.9811 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.848e-05/0.1473, allocations: 59.36 kB / 0.9811 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.1474, allocations: 8.078 kB / 0.9811 GB, free: 11.33 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1475, allocations: 67.33 kB / 0.9812 GB, free: 11.27 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.1475, allocations: 0 / 0.9812 GB, free: 11.27 MB / 0.948 GB Notification: Performance of Templates: time 0.002561/0.15, allocations: 0.6341 MB / 0.9818 GB, free: 10.68 MB / 0.948 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 -s gbode -gbm=radauIIA3 -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.689708753954619]