Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001328/0.001328, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.002009/0.002009, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9666/0.9666, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.793/1.793, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.499e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1181/0.1182, allocations: 141 MB / 0.9253 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001174/0.1183, allocations: 55.73 kB / 0.9253 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.1183, allocations: 0 / 0.9253 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1184, allocations: 7.938 kB / 0.9253 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.1185, allocations: 11.91 kB / 0.9253 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1189, allocations: 119.6 kB / 0.9255 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.1189, allocations: 35.84 kB / 0.9255 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.119, allocations: 0 / 0.9255 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.119, allocations: 19.92 kB / 0.9255 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.1191, allocations: 15.97 kB / 0.9255 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1191, allocations: 0 / 0.9255 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1193, allocations: 79.67 kB / 0.9256 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.1193, allocations: 11.98 kB / 0.9256 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.1193, allocations: 11.98 kB / 0.9256 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1195, allocations: 67.8 kB / 0.9257 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1195, allocations: 0 / 0.9257 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1195, allocations: 0 / 0.9257 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1195, allocations: 0 / 0.9257 GB, free: 14.28 MB / 0.8855 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.0002978/0.1198, allocations: 368.2 kB / 0.926 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1198, allocations: 12.03 kB / 0.926 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.12, allocations: 33.16 kB / 0.9261 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.12, allocations: 112.6 kB / 0.9262 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.1201, allocations: 55.97 kB / 0.9262 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1201, allocations: 4.125 kB / 0.9262 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1202, allocations: 84.08 kB / 0.9263 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1202, allocations: 3.984 kB / 0.9263 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.1202, allocations: 0 / 0.9263 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1202, allocations: 0 / 0.9263 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.1203, allocations: 8 kB / 0.9263 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1205, allocations: 244.3 kB / 0.9266 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.193e-05/0.1205, allocations: 31 kB / 0.9266 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.089e-05/0.1205, allocations: 7.688 kB / 0.9266 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.1206, allocations: 0 / 0.9266 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1206, allocations: 45.48 kB / 0.9266 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1206, allocations: 0 / 0.9266 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 9.191e-05/0.1207, allocations: 37.59 kB / 0.9267 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.1207, allocations: 51.41 kB / 0.9267 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.1208, allocations: 165.9 kB / 0.9269 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1208, allocations: 33.77 kB / 0.9269 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.1208, allocations: 134.8 kB / 0.9271 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-06/0.1208, allocations: 11.89 kB / 0.9271 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.1208, allocations: 19.38 kB / 0.9271 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1209, allocations: 0.4883 MB / 0.9276 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.121, allocations: 3.984 kB / 0.9276 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.121, allocations: 27.06 kB / 0.9276 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.121, allocations: 39 kB / 0.9276 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.121, allocations: 0 / 0.9276 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.613e-05/0.1211, allocations: 57.62 kB / 0.9277 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1211, allocations: 5.562 kB / 0.9277 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1211, allocations: 0 / 0.9277 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1211, allocations: 4 kB / 0.9277 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.1211, allocations: 4.25 kB / 0.9277 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.1211, allocations: 0 / 0.9277 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.1211, allocations: 11.95 kB / 0.9277 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-06/0.1211, allocations: 0 / 0.9277 GB, free: 11.97 MB / 0.8855 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 5.814e-05/0.1212, allocations: 164.6 kB / 0.9279 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.1212, allocations: 4 kB / 0.9279 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.1212, allocations: 3.156 kB / 0.9279 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1212, allocations: 7.938 kB / 0.9279 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1212, allocations: 0 / 0.9279 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1212, allocations: 0 / 0.9279 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1215, allocations: 384.9 kB / 0.9282 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1215, allocations: 0 / 0.9282 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.1216, allocations: 0 / 0.9282 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1216, allocations: 0 / 0.9282 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-06/0.1216, allocations: 0 / 0.9282 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1216, allocations: 8.031 kB / 0.9283 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1216, allocations: 0 / 0.9283 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.5e-05/0.1216, allocations: 76.31 kB / 0.9283 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.1216, allocations: 4 kB / 0.9283 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1216, allocations: 0 / 0.9283 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.1217, allocations: 4 kB / 0.9283 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-06/0.1217, allocations: 0 / 0.9283 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-06/0.1217, allocations: 0 / 0.9283 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.1217, allocations: 131.1 kB / 0.9285 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1217, allocations: 0 / 0.9285 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001208/0.1218, allocations: 8.031 kB / 0.9285 GB, free: 11.12 MB / 0.8855 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.635e-05/0.1219, allocations: 99.25 kB / 0.9286 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.582e-05/0.122, allocations: 23.56 kB / 0.9286 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.122, allocations: 0 / 0.9286 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.122, allocations: 15.67 kB / 0.9286 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1221, allocations: 11.94 kB / 0.9286 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.1224, allocations: 121.3 kB / 0.9287 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.604e-05/0.1224, allocations: 59.34 kB / 0.9288 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.1225, allocations: 4.078 kB / 0.9288 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.1225, allocations: 90.17 kB / 0.9289 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.1225, allocations: 0 / 0.9289 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of Templates: time 0.001848/0.1244, allocations: 0.6145 MB / 0.9295 GB, free: 10.04 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.868821622803807]