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.000884/0.000884, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009828/0.0009828, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.994/0.994, allocations: 177.1 MB / 203.4 MB, free: 5.184 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.19/2.19, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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 1.402e-06/1.402e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.609e-05, allocations: 5.922 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.145/0.1451, allocations: 143.7 MB / 1.019 GB, free: 6.109 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.1452, allocations: 55.73 kB / 1.019 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1452, allocations: 0 / 1.019 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1454, allocations: 0 / 1.019 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.1455, allocations: 19.86 kB / 1.019 GB, free: 6.035 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.1459, allocations: 115.6 kB / 1.019 GB, free: 5.922 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.146, allocations: 31.86 kB / 1.019 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1461, allocations: 11.98 kB / 1.019 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.1477, allocations: 19.92 kB / 1.019 GB, free: 5.859 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.1477, allocations: 7.984 kB / 1.019 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1477, allocations: 0 / 1.019 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.1501, allocations: 83.72 kB / 1.019 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.1502, allocations: 8 kB / 1.019 GB, free: 5.762 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.1502, allocations: 8 kB / 1.019 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1505, allocations: 75.7 kB / 1.019 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1505, allocations: 0 / 1.019 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1505, allocations: 0 / 1.019 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1505, allocations: 0 / 1.019 GB, free: 5.68 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.000423/0.1509, allocations: 372.5 kB / 1.019 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.151, allocations: 8.031 kB / 1.019 GB, free: 5.273 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.1512, allocations: 32.86 kB / 1.019 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.1513, allocations: 104.6 kB / 1.019 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.1514, allocations: 55.97 kB / 1.019 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1514, allocations: 8.109 kB / 1.019 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1515, allocations: 76.09 kB / 1.02 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1515, allocations: 3.984 kB / 1.02 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1516, allocations: 4 kB / 1.02 GB, free: 4.941 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.1516, allocations: 7.938 kB / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.1516, allocations: 8 kB / 1.02 GB, free: 4.926 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.152, allocations: 263.7 kB / 1.02 GB, free: 4.633 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.152, allocations: 27.06 kB / 1.02 GB, free: 4.594 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.152, allocations: 11.62 kB / 1.02 GB, free: 4.578 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.1521, allocations: 0 / 1.02 GB, free: 4.578 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1521, allocations: 41.39 kB / 1.02 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1521, allocations: 0 / 1.02 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.1522, allocations: 37.69 kB / 1.02 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.1522, allocations: 51.41 kB / 1.02 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.1523, allocations: 170 kB / 1.02 GB, free: 4.238 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1523, allocations: 25.7 kB / 1.02 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.1524, allocations: 138.8 kB / 1.02 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-06/0.1524, allocations: 3.938 kB / 1.02 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1525, allocations: 23.38 kB / 1.02 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1526, allocations: 0.4883 MB / 1.021 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.1526, allocations: 8 kB / 1.021 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.1526, allocations: 31 kB / 1.021 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.1527, allocations: 39.06 kB / 1.021 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1527, allocations: 0 / 1.021 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.304e-05/0.1528, allocations: 53.58 kB / 1.021 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1528, allocations: 10.34 kB / 1.021 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1528, allocations: 0 / 1.021 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1528, allocations: 0 / 1.021 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.1529, allocations: 12.19 kB / 1.021 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1529, allocations: 0 / 1.021 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.1529, allocations: 4 kB / 1.021 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1529, allocations: 7.984 kB / 1.021 GB, free: 3.34 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 8.596e-05/0.153, allocations: 160.6 kB / 1.021 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.153, allocations: 4 kB / 1.021 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.1531, allocations: 7.156 kB / 1.021 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1531, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1531, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1531, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.1533, allocations: 404.3 kB / 1.022 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1533, allocations: 0 / 1.022 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.1534, allocations: 0 / 1.022 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1534, allocations: 0 / 1.022 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1534, allocations: 4.031 kB / 1.022 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1534, allocations: 0 / 1.022 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1534, allocations: 7.938 kB / 1.022 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.086e-05/0.1534, allocations: 80.33 kB / 1.022 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-06/0.1534, allocations: 4 kB / 1.022 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1535, allocations: 0 / 1.022 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.1535, allocations: 4 kB / 1.022 GB, free: 2.594 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.1535, allocations: 4.078 kB / 1.022 GB, free: 2.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1535, allocations: 3.938 kB / 1.022 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1536, allocations: 123.2 kB / 1.022 GB, free: 2.465 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1536, allocations: 4.031 kB / 1.022 GB, free: 2.461 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002168/0.1538, allocations: 11.94 kB / 1.022 GB, free: 2.449 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 0.0001086/0.1539, allocations: 103.2 kB / 1.022 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.154, allocations: 19.67 kB / 1.022 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.154, allocations: 0 / 1.022 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.154, allocations: 7.688 kB / 1.022 GB, free: 2.305 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.1542, allocations: 12.19 kB / 1.022 GB, free: 2.293 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.1547, allocations: 134.2 kB / 1.022 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.1547, allocations: 59.3 kB / 1.022 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.8e-05/0.1548, allocations: 4 kB / 1.022 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.1548, allocations: 12.48 kB / 1.022 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/0.1548, allocations: 4 kB / 1.022 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of Templates: time 0.00242/0.1572, allocations: 0.5569 MB / 1.023 GB, free: 1.523 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.819845259189606]