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.0009771/0.0009771, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001015/0.001015, allocations: 169.9 kB / 24.87 MB, free: 9.258 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.9705/0.9705, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.881/1.881, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 177] 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.312e-06/1.312e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.59e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1178/0.1178, allocations: 141 MB / 0.926 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.1179, allocations: 63.67 kB / 0.9261 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.1179, allocations: 0 / 0.9261 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1181, allocations: 3.984 kB / 0.9261 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.1181, allocations: 11.92 kB / 0.9261 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1185, allocations: 119.5 kB / 0.9262 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.1186, allocations: 39.84 kB / 0.9262 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1186, allocations: 0 / 0.9262 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.1187, allocations: 23.92 kB / 0.9263 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.1188, allocations: 11.97 kB / 0.9263 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1188, allocations: 4 kB / 0.9263 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1189, allocations: 71.75 kB / 0.9263 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.119, allocations: 7.984 kB / 0.9263 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.119, allocations: 15.92 kB / 0.9264 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1191, allocations: 67.84 kB / 0.9264 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1191, allocations: 0 / 0.9264 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1191, allocations: 0 / 0.9264 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.1191, allocations: 3.938 kB / 0.9264 GB, free: 14.3 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.000293/0.1194, allocations: 364.2 kB / 0.9268 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1195, allocations: 12.03 kB / 0.9268 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.1196, allocations: 25.16 kB / 0.9268 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.1197, allocations: 116.6 kB / 0.9269 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.1198, allocations: 51.97 kB / 0.927 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1198, allocations: 12.12 kB / 0.927 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1199, allocations: 80.02 kB / 0.9271 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1199, allocations: 0 / 0.9271 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1199, allocations: 8 kB / 0.9271 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1199, allocations: 0 / 0.9271 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.1199, allocations: 15.91 kB / 0.9271 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.1202, allocations: 240.4 kB / 0.9273 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1203, allocations: 23.06 kB / 0.9273 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.124e-05/0.1203, allocations: 11.75 kB / 0.9273 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-06/0.1203, allocations: 0 / 0.9273 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1203, allocations: 37.39 kB / 0.9274 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.1203, allocations: 0 / 0.9274 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 9.492e-05/0.1204, allocations: 45.59 kB / 0.9274 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.1204, allocations: 51.41 kB / 0.9275 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.1205, allocations: 165.9 kB / 0.9276 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.1205, allocations: 25.7 kB / 0.9277 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.1206, allocations: 138.8 kB / 0.9278 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.1206, allocations: 7.891 kB / 0.9278 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1206, allocations: 23.36 kB / 0.9278 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1207, allocations: 0.4883 MB / 0.9283 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.1207, allocations: 0 / 0.9283 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.1207, allocations: 27.06 kB / 0.9283 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.1207, allocations: 51.09 kB / 0.9284 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1207, allocations: 0 / 0.9284 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.316e-05/0.1208, allocations: 49.64 kB / 0.9284 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1208, allocations: 4 kB / 0.9284 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1208, allocations: 0 / 0.9284 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.1208, allocations: 0 / 0.9284 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.1209, allocations: 12.23 kB / 0.9284 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.1209, allocations: 4.094 kB / 0.9284 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.1209, allocations: 7.953 kB / 0.9284 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.1209, allocations: 4 kB / 0.9285 GB, free: 12 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.508e-05/0.1209, allocations: 160.5 kB / 0.9286 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.121, allocations: 4 kB / 0.9286 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.121, allocations: 3.156 kB / 0.9286 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.121, allocations: 0 / 0.9286 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.121, allocations: 3.938 kB / 0.9286 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.121, allocations: 0 / 0.9286 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1211, allocations: 381 kB / 0.929 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1211, allocations: 4.031 kB / 0.929 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/0.1211, allocations: 4 kB / 0.929 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.1211, allocations: 0 / 0.929 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-06/0.1212, allocations: 0 / 0.929 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1212, allocations: 3.938 kB / 0.929 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1212, allocations: 3.984 kB / 0.929 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.548e-05/0.1212, allocations: 68.39 kB / 0.9291 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.1212, allocations: 8 kB / 0.9291 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.1212, allocations: 0 / 0.9291 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.1213, allocations: 3.984 kB / 0.9291 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.1213, allocations: 4.031 kB / 0.9291 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.1213, allocations: 4 kB / 0.9291 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.1213, allocations: 127.2 kB / 0.9292 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1213, allocations: 0 / 0.9292 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001192/0.1214, allocations: 4 kB / 0.9292 GB, free: 11.15 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.579e-05/0.1215, allocations: 99.25 kB / 0.9293 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.1216, allocations: 23.55 kB / 0.9293 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1216, allocations: 4 kB / 0.9293 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.1216, allocations: 15.88 kB / 0.9293 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.1217, allocations: 11.88 kB / 0.9293 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.122, allocations: 122.4 kB / 0.9295 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.551e-05/0.122, allocations: 51.36 kB / 0.9295 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.1221, allocations: 12.14 kB / 0.9295 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.1221, allocations: 90.17 kB / 0.9296 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.1221, allocations: 0 / 0.9296 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of Templates: time 0.00192/0.124, allocations: 0.6204 MB / 0.9302 GB, free: 10.06 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.176033309660852]