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.001321/0.001321, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001416/0.001416, allocations: 170 kB / 23.27 MB, free: 1.223 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.016/1.016, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.441/2.441, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.293e-06/1.293e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.217e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1236/0.1236, allocations: 141 MB / 1.027 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.1237, allocations: 47.75 kB / 1.028 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.1237, allocations: 0 / 1.028 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1238, allocations: 11.88 kB / 1.028 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.1239, allocations: 11.97 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1243, allocations: 119.5 kB / 1.028 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.1244, allocations: 31.84 kB / 1.028 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.1244, allocations: 4 kB / 1.028 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.1244, allocations: 23.97 kB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1245, allocations: 11.92 kB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1245, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.1247, allocations: 79.67 kB / 1.028 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.1248, allocations: 7.984 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.1248, allocations: 12 kB / 1.028 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.1249, allocations: 67.78 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1249, allocations: 4 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1249, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1249, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.9948 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.0002727/0.1252, allocations: 368.2 kB / 1.028 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1252, allocations: 8.031 kB / 1.028 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.1254, allocations: 28.84 kB / 1.028 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.472e-05/0.1254, allocations: 120.5 kB / 1.028 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1255, allocations: 51.97 kB / 1.028 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1255, allocations: 8.125 kB / 1.028 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.1256, allocations: 80.09 kB / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.1256, allocations: 0 / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1256, allocations: 0 / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1256, allocations: 7.984 kB / 1.029 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.1256, allocations: 7.984 kB / 1.029 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.1259, allocations: 252.3 kB / 1.029 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.602e-05/0.1259, allocations: 23.06 kB / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.098e-05/0.1259, allocations: 7.688 kB / 1.029 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.1259, allocations: 8.062 kB / 1.029 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1259, allocations: 33.39 kB / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.1259, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 8.971e-05/0.126, allocations: 37.64 kB / 1.029 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.126, allocations: 59.39 kB / 1.029 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.1261, allocations: 161.9 kB / 1.029 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1261, allocations: 25.7 kB / 1.029 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.1262, allocations: 142.8 kB / 1.029 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.1262, allocations: 3.953 kB / 1.029 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1262, allocations: 23.5 kB / 1.029 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1263, allocations: 0.4922 MB / 1.03 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.1263, allocations: 4 kB / 1.03 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.1264, allocations: 31.05 kB / 1.03 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.1264, allocations: 39 kB / 1.03 GB, free: 9.543 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1264, allocations: 3.938 kB / 1.03 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.414e-05/0.1265, allocations: 45.62 kB / 1.03 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1265, allocations: 8.094 kB / 1.03 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1265, allocations: 4 kB / 1.03 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.1265, allocations: 0 / 1.03 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.1265, allocations: 12 kB / 1.03 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.1265, allocations: 0 / 1.03 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.1265, allocations: 0 / 1.03 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.1265, allocations: 4 kB / 1.03 GB, free: 9.461 MB / 0.9948 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.171e-05/0.1266, allocations: 160.5 kB / 1.03 GB, free: 9.293 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1266, allocations: 4 kB / 1.03 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.1266, allocations: 7.141 kB / 1.03 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1266, allocations: 0 / 1.03 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1266, allocations: 4 kB / 1.03 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1267, allocations: 0 / 1.03 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1268, allocations: 388.9 kB / 1.03 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1268, allocations: 0 / 1.03 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-06/0.1268, allocations: 4 kB / 1.03 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1268, allocations: 0 / 1.03 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-06/0.1268, allocations: 0 / 1.03 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1268, allocations: 3.984 kB / 1.03 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1269, allocations: 0 / 1.03 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.666e-05/0.1269, allocations: 72.33 kB / 1.031 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.1269, allocations: 8.047 kB / 1.031 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.1269, allocations: 4.25 kB / 1.031 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.127, allocations: 4 kB / 1.031 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-06/0.127, allocations: 4 kB / 1.031 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-06/0.127, allocations: 0 / 1.031 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.127, allocations: 123.2 kB / 1.031 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.127, allocations: 0 / 1.031 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001147/0.1271, allocations: 8 kB / 1.031 GB, free: 8.605 MB / 0.9948 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 7.416e-05/0.1272, allocations: 99.23 kB / 1.031 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.026e-05/0.1272, allocations: 27.56 kB / 1.031 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1272, allocations: 0 / 1.031 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.1272, allocations: 7.688 kB / 1.031 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.1274, allocations: 15.98 kB / 1.031 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.1277, allocations: 122.2 kB / 1.031 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.1277, allocations: 55.61 kB / 1.031 GB, free: 8.219 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.1278, allocations: 16.06 kB / 1.031 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.1278, allocations: 78.19 kB / 1.031 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of SimCode: time 9.62e-07/0.1278, allocations: 0 / 1.031 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of Templates: time 0.0021/0.1299, allocations: 0.6199 MB / 1.032 GB, free: 7.547 MB / 0.9948 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.460029272828251]