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.001315/0.001315, allocations: 67.75 kB / 20.97 MB, free: 3.578 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.001457/0.001457, allocations: 169 kB / 24.28 MB, free: 276 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 1.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.906/1.906, allocations: 359 MB / 0.6055 GB, free: 11.02 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.473e-06/1.473e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.391e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1256/0.1256, allocations: 143.4 MB / 0.9272 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001203/0.1258, allocations: 59.64 kB / 0.9272 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.1258, allocations: 0 / 0.9272 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.1259, allocations: 3.984 kB / 0.9272 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.126, allocations: 7.984 kB / 0.9272 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1264, allocations: 111.5 kB / 0.9273 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.1265, allocations: 35.84 kB / 0.9274 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.1266, allocations: 4 kB / 0.9274 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.1266, allocations: 27.84 kB / 0.9274 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.1267, allocations: 11.98 kB / 0.9274 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1267, allocations: 0 / 0.9274 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1269, allocations: 71.73 kB / 0.9275 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.127, allocations: 7.984 kB / 0.9275 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.127, allocations: 4 kB / 0.9275 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1271, allocations: 75.78 kB / 0.9276 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1272, allocations: 0 / 0.9276 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1272, allocations: 7.938 kB / 0.9276 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1272, allocations: 0 / 0.9276 GB, free: 12.5 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.0003571/0.1275, allocations: 364.6 kB / 0.9279 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1276, allocations: 8.031 kB / 0.9279 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.1278, allocations: 28.81 kB / 0.928 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.1279, allocations: 116.6 kB / 0.9281 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.1279, allocations: 59.97 kB / 0.9281 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1279, allocations: 4.125 kB / 0.9281 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1281, allocations: 84.08 kB / 0.9282 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1281, allocations: 0 / 0.9282 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1281, allocations: 0 / 0.9282 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.1281, allocations: 4 kB / 0.9282 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.1282, allocations: 15.92 kB / 0.9282 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1285, allocations: 255.8 kB / 0.9285 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.1286, allocations: 27.06 kB / 0.9285 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.1286, allocations: 11.75 kB / 0.9285 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.1286, allocations: 0 / 0.9285 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1286, allocations: 37.39 kB / 0.9285 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1286, allocations: 0 / 0.9285 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.1287, allocations: 41.59 kB / 0.9286 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1288, allocations: 55.39 kB / 0.9286 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.1289, allocations: 161.9 kB / 0.9288 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1289, allocations: 29.7 kB / 0.9288 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.1289, allocations: 134.8 kB / 0.9289 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1289, allocations: 11.89 kB / 0.929 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1289, allocations: 23.38 kB / 0.929 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.129, allocations: 500 kB / 0.9295 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.1291, allocations: 4.125 kB / 0.9295 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.1291, allocations: 43.03 kB / 0.9295 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.1291, allocations: 31 kB / 0.9295 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1291, allocations: 0 / 0.9295 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.03e-05/0.1292, allocations: 53.62 kB / 0.9296 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1292, allocations: 9.875 kB / 0.9296 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1292, allocations: 0 / 0.9296 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1292, allocations: 4.094 kB / 0.9296 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.1293, allocations: 8 kB / 0.9296 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1293, allocations: 0 / 0.9296 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1293, allocations: 7.953 kB / 0.9296 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1293, allocations: 7.938 kB / 0.9296 GB, free: 10.16 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 6.262e-05/0.1294, allocations: 156.5 kB / 0.9298 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1294, allocations: 4 kB / 0.9298 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.1294, allocations: 7.141 kB / 0.9298 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1294, allocations: 0 / 0.9298 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1294, allocations: 0 / 0.9298 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1294, allocations: 4 kB / 0.9298 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1296, allocations: 400.3 kB / 0.9302 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1296, allocations: 0 / 0.9302 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.1296, allocations: 4 kB / 0.9302 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1296, allocations: 256 / 0.9302 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.1296, allocations: 0 / 0.9302 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1296, allocations: 7.938 kB / 0.9302 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1296, allocations: 0 / 0.9302 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.369e-05/0.1297, allocations: 72.38 kB / 0.9302 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.1297, allocations: 7.953 kB / 0.9302 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1297, allocations: 4.062 kB / 0.9303 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.1297, allocations: 0 / 0.9303 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.1297, allocations: 0 / 0.9303 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1297, allocations: 7.938 kB / 0.9303 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.1298, allocations: 131.2 kB / 0.9304 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1298, allocations: 0 / 0.9304 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001223/0.1299, allocations: 4 kB / 0.9304 GB, free: 9.285 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.985e-05/0.13, allocations: 99.25 kB / 0.9305 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.971e-05/0.1301, allocations: 31.62 kB / 0.9305 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1301, allocations: 0 / 0.9305 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-06/0.1301, allocations: 11.67 kB / 0.9305 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.1302, allocations: 10 kB / 0.9305 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.1306, allocations: 118.5 kB / 0.9306 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.1307, allocations: 63.28 kB / 0.9307 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.1307, allocations: 8.188 kB / 0.9307 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.1307, allocations: 8.5 kB / 0.9307 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/0.1307, allocations: 0 / 0.9307 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of Templates: time 0.002076/0.1328, allocations: 0.5617 MB / 0.9313 GB, free: 8.332 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: 5.38023772300221]