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.0009697/0.0009697, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001546/0.001546, allocations: 161 kB / 23.82 MB, free: 0.75 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.91/0.91, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.83/1.83, allocations: 359 MB / 0.6052 GB, free: 11 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.292e-06/1.292e-06, allocations: 1.094 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.571e-05, allocations: 9.656 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.124/0.1241, allocations: 143.7 MB / 0.9274 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.1242, allocations: 51.73 kB / 0.9275 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.1242, allocations: 0 / 0.9275 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1243, allocations: 3.938 kB / 0.9275 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.1244, allocations: 15.97 kB / 0.9275 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.1248, allocations: 119.5 kB / 0.9276 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.1249, allocations: 39.84 kB / 0.9276 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.1249, allocations: 0 / 0.9276 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.125, allocations: 23.92 kB / 0.9277 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.1251, allocations: 11.97 kB / 0.9277 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1251, allocations: 4 kB / 0.9277 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1253, allocations: 71.73 kB / 0.9277 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.1253, allocations: 11.98 kB / 0.9278 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.1253, allocations: 4 kB / 0.9278 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1255, allocations: 83.66 kB / 0.9278 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1255, allocations: 4 kB / 0.9278 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1255, allocations: 0 / 0.9278 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1255, allocations: 0 / 0.9278 GB, free: 10.77 MB / 0.8386 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.0006174/0.1261, allocations: 356.3 kB / 0.9282 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1261, allocations: 16.02 kB / 0.9282 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.1264, allocations: 28.8 kB / 0.9282 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.1265, allocations: 116.6 kB / 0.9283 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.1265, allocations: 51.97 kB / 0.9284 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1265, allocations: 12.12 kB / 0.9284 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1267, allocations: 84.03 kB / 0.9285 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1267, allocations: 0 / 0.9285 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1267, allocations: 7.969 kB / 0.9285 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.1267, allocations: 0 / 0.9285 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.1267, allocations: 8 kB / 0.9285 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.127, allocations: 259.8 kB / 0.9287 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.1271, allocations: 27 kB / 0.9288 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.1271, allocations: 15.69 kB / 0.9288 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.1271, allocations: 4.062 kB / 0.9288 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1271, allocations: 33.39 kB / 0.9288 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1271, allocations: 0 / 0.9288 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/0.1272, allocations: 33.69 kB / 0.9289 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.1273, allocations: 55.41 kB / 0.9289 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.1273, allocations: 169.9 kB / 0.9291 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1273, allocations: 29.7 kB / 0.9291 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.1274, allocations: 138.8 kB / 0.9292 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.1274, allocations: 3.953 kB / 0.9292 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1274, allocations: 27.5 kB / 0.9293 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1275, allocations: 0.4922 MB / 0.9297 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.1275, allocations: 3.984 kB / 0.9297 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.1276, allocations: 27.06 kB / 0.9298 GB, free: 8.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.1276, allocations: 35.06 kB / 0.9298 GB, free: 8.523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1276, allocations: 3.938 kB / 0.9298 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.08e-05/0.1277, allocations: 53.62 kB / 0.9299 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1277, allocations: 8.094 kB / 0.9299 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1277, allocations: 0 / 0.9299 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1277, allocations: 4 kB / 0.9299 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.1278, allocations: 4 kB / 0.9299 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1278, allocations: 0 / 0.9299 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.1278, allocations: 7.938 kB / 0.9299 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1278, allocations: 0 / 0.9299 GB, free: 8.438 MB / 0.8386 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.129e-05/0.1279, allocations: 168.5 kB / 0.93 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1279, allocations: 3.953 kB / 0.93 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.1279, allocations: 3.156 kB / 0.93 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1279, allocations: 8 kB / 0.9301 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1279, allocations: 0 / 0.9301 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1279, allocations: 0 / 0.9301 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1281, allocations: 400.3 kB / 0.9304 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1281, allocations: 0 / 0.9304 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-06/0.1281, allocations: 0 / 0.9304 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1281, allocations: 4 kB / 0.9304 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1281, allocations: 0 / 0.9304 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1281, allocations: 0 / 0.9304 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1281, allocations: 0 / 0.9304 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.902e-05/0.1282, allocations: 84.34 kB / 0.9305 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.1282, allocations: 96 / 0.9305 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1282, allocations: 3.984 kB / 0.9305 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.1282, allocations: 4 kB / 0.9305 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.1282, allocations: 3.984 kB / 0.9305 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1282, allocations: 3.938 kB / 0.9305 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.1283, allocations: 131.4 kB / 0.9307 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1283, allocations: 0 / 0.9307 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001251/0.1284, allocations: 8 kB / 0.9307 GB, free: 7.547 MB / 0.8386 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.718e-05/0.1285, allocations: 99.28 kB / 0.9308 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.361e-05/0.1286, allocations: 23.61 kB / 0.9308 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1286, allocations: 3.938 kB / 0.9308 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.1286, allocations: 15.69 kB / 0.9308 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1287, allocations: 4 kB / 0.9308 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.1291, allocations: 126.6 kB / 0.9309 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.1291, allocations: 59.3 kB / 0.931 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.1292, allocations: 4 kB / 0.931 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.1292, allocations: 12.5 kB / 0.931 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/0.1292, allocations: 0 / 0.931 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of Templates: time 0.002094/0.1313, allocations: 0.6078 MB / 0.9316 GB, free: 6.555 MB / 0.8386 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.949141445104033]