Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001419/0.001419, allocations: 82.64 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.001455/0.001455, allocations: 181 kB / 24.09 MB, free: 420 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.9579/0.9579, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.736/1.736, allocations: 359 MB / 0.6055 GB, free: 10.9 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.013e-05, allocations: 6.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1226/0.1226, allocations: 141.5 MB / 0.9257 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.1227, allocations: 63.73 kB / 0.9257 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.1228, allocations: 0 / 0.9257 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1229, allocations: 0 / 0.9257 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.123, allocations: 15.91 kB / 0.9257 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.1237, allocations: 235 kB / 0.926 GB, free: 14 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.1238, allocations: 31.86 kB / 0.926 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.1238, allocations: 4 kB / 0.926 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.1239, allocations: 19.91 kB / 0.926 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.1239, allocations: 11.98 kB / 0.926 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.124, allocations: 0 / 0.926 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1243, allocations: 171.4 kB / 0.9262 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.1243, allocations: 11.98 kB / 0.9262 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.1243, allocations: 4 kB / 0.9262 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1245, allocations: 115.7 kB / 0.9263 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1245, allocations: 7.938 kB / 0.9263 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1245, allocations: 0 / 0.9263 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1245, allocations: 0 / 0.9263 GB, free: 13.62 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.0003036/0.1248, allocations: 368.2 kB / 0.9267 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1249, allocations: 8.031 kB / 0.9267 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.1251, allocations: 41.14 kB / 0.9267 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.173e-05/0.1252, allocations: 104.6 kB / 0.9268 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.1252, allocations: 51.97 kB / 0.9269 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1252, allocations: 8.125 kB / 0.9269 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.918e-05/0.1253, allocations: 80.09 kB / 0.927 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1253, allocations: 0 / 0.927 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.1253, allocations: 0 / 0.927 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1254, allocations: 0 / 0.927 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.1254, allocations: 19.92 kB / 0.927 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.1256, allocations: 240.4 kB / 0.9272 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.1257, allocations: 27.06 kB / 0.9272 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.1257, allocations: 11.75 kB / 0.9272 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.1258, allocations: 19.98 kB / 0.9273 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1258, allocations: 37.39 kB / 0.9273 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1258, allocations: 0 / 0.9273 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.126, allocations: 53.52 kB / 0.9274 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.126, allocations: 55.41 kB / 0.9274 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.1261, allocations: 165.9 kB / 0.9276 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1261, allocations: 25.7 kB / 0.9276 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.1261, allocations: 134.8 kB / 0.9277 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-06/0.1262, allocations: 12.08 kB / 0.9277 GB, free: 12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1262, allocations: 27.36 kB / 0.9278 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1263, allocations: 492.1 kB / 0.9282 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.1263, allocations: 7.984 kB / 0.9282 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.1263, allocations: 31.06 kB / 0.9283 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.1264, allocations: 34.94 kB / 0.9283 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1264, allocations: 0 / 0.9283 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.303e-05/0.1264, allocations: 57.62 kB / 0.9283 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1265, allocations: 4 kB / 0.9284 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1265, allocations: 4 kB / 0.9284 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1265, allocations: 0 / 0.9284 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.846e-05/0.1265, allocations: 4 kB / 0.9284 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1265, allocations: 7.938 kB / 0.9284 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.1265, allocations: 0 / 0.9284 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.1265, allocations: 0 / 0.9284 GB, free: 11.3 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 7.962e-05/0.1266, allocations: 172.4 kB / 0.9285 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.1266, allocations: 3.953 kB / 0.9285 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.1267, allocations: 11.41 kB / 0.9285 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1267, allocations: 288 / 0.9285 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.1267, allocations: 0 / 0.9285 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1267, allocations: 0 / 0.9285 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1269, allocations: 400.6 kB / 0.9289 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1269, allocations: 3.984 kB / 0.9289 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.1269, allocations: 4 kB / 0.9289 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1269, allocations: 0 / 0.9289 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.1269, allocations: 0 / 0.9289 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1269, allocations: 4 kB / 0.9289 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1269, allocations: 4.062 kB / 0.9289 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.125e-05/0.1269, allocations: 92 kB / 0.929 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-06/0.1269, allocations: 0 / 0.929 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.127, allocations: 0 / 0.929 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.127, allocations: 7.984 kB / 0.929 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.127, allocations: 0 / 0.929 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.127, allocations: 0 / 0.929 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.1271, allocations: 131.2 kB / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 3.938 kB / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001255/0.1272, allocations: 8 kB / 0.9292 GB, free: 10.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.971e-05/0.1273, allocations: 103.2 kB / 0.9293 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.478e-05/0.1273, allocations: 23.61 kB / 0.9293 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-06/0.1273, allocations: 0 / 0.9293 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-06/0.1273, allocations: 11.69 kB / 0.9293 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.1275, allocations: 20.3 kB / 0.9293 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.1279, allocations: 130.1 kB / 0.9295 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.768e-05/0.1279, allocations: 59.34 kB / 0.9295 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.1279, allocations: 0 / 0.9295 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.128, allocations: 90.17 kB / 0.9296 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.128, allocations: 0 / 0.9296 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of Templates: time 0.002356/0.1303, allocations: 0.7799 MB / 0.9304 GB, free: 9.109 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.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.046864381060004]