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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 198.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002036/0.002036, allocations: 71.88 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8997, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1973/1.097, allocations: 148.7 MB / 1.419 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/1.097, allocations: 59.78 kB / 1.419 GB, free: 15.16 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/1.097, allocations: 0 / 1.419 GB, free: 15.16 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/1.097, allocations: 0 / 1.419 GB, free: 15.16 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/1.097, allocations: 19.91 kB / 1.419 GB, free: 15.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008903/1.098, allocations: 216.6 kB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/1.098, allocations: 35.84 kB / 1.42 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/1.098, allocations: 3.984 kB / 1.42 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/1.099, allocations: 15.94 kB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/1.099, allocations: 11.97 kB / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/1.099, allocations: 4 kB / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/1.099, allocations: 211.4 kB / 1.42 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/1.099, allocations: 11.98 kB / 1.42 GB, free: 14.64 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/1.099, allocations: 7.938 kB / 1.42 GB, free: 14.63 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/1.099, allocations: 122.3 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.1, allocations: 4 kB / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.944e-06/1.1, allocations: 0 / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.1, allocations: 0 / 1.42 GB, free: 14.51 MB / 1.123 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.0005686/1.1, allocations: 339.4 kB / 1.42 GB, free: 14.13 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.1, allocations: 12.03 kB / 1.42 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/1.101, allocations: 24.91 kB / 1.42 GB, free: 14.1 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/1.101, allocations: 168.3 kB / 1.42 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/1.101, allocations: 29.64 kB / 1.421 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/1.101, allocations: 0 / 1.421 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/1.101, allocations: 45.69 kB / 1.421 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.101, allocations: 0 / 1.421 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.101, allocations: 3.938 kB / 1.421 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.101, allocations: 7.984 kB / 1.421 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/1.101, allocations: 23.98 kB / 1.421 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/1.101, allocations: 260.9 kB / 1.421 GB, free: 13.47 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/1.102, allocations: 26.5 kB / 1.421 GB, free: 13.43 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/1.102, allocations: 8.922 kB / 1.421 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/1.102, allocations: 97.09 kB / 1.421 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.102, allocations: 38.5 kB / 1.421 GB, free: 13.26 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.102, allocations: 0 / 1.421 GB, free: 13.26 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002651/1.102, allocations: 45.69 kB / 1.421 GB, free: 13.21 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.102, allocations: 51.41 kB / 1.421 GB, free: 13.15 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.102, allocations: 109.8 kB / 1.421 GB, free: 13.03 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/1.102, allocations: 33.77 kB / 1.421 GB, free: 12.99 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/1.102, allocations: 92.03 kB / 1.421 GB, free: 12.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-06/1.102, allocations: 7.953 kB / 1.421 GB, free: 12.89 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/1.102, allocations: 17.72 kB / 1.421 GB, free: 12.87 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.103, allocations: 310.8 kB / 1.422 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/1.103, allocations: 7.984 kB / 1.422 GB, free: 12.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/1.103, allocations: 26.52 kB / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/1.103, allocations: 30.58 kB / 1.422 GB, free: 12.47 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.103, allocations: 0 / 1.422 GB, free: 12.47 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.953e-05/1.103, allocations: 57.58 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.103, allocations: 4 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.103, allocations: 4 kB / 1.422 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.103, allocations: 0 / 1.422 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/1.103, allocations: 20.02 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.103, allocations: 7.938 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/1.103, allocations: 0 / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/1.103, allocations: 0 / 1.422 GB, free: 12.38 MB / 1.123 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 0.0001008/1.103, allocations: 115.9 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/1.103, allocations: 0 / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/1.103, allocations: 7.125 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.103, allocations: 0 / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.103, allocations: 3.938 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/1.103, allocations: 4 kB / 1.422 GB, free: 12.24 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/1.103, allocations: 359.6 kB / 1.422 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.103, allocations: 4 kB / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/1.103, allocations: 0 / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.103, allocations: 7.938 kB / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.103, allocations: 3.984 kB / 1.422 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.103, allocations: 0 / 1.422 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.103, allocations: 0 / 1.422 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.594e-05/1.103, allocations: 77.95 kB / 1.422 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/1.104, allocations: 81.05 kB / 1.422 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.104, allocations: 3.984 kB / 1.422 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/1.104, allocations: 8 kB / 1.422 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/1.104, allocations: 3.938 kB / 1.422 GB, free: 11.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/1.104, allocations: 8.031 kB / 1.422 GB, free: 11.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.141e-05/1.104, allocations: 83.2 kB / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.104, allocations: 4 kB / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001935/1.104, allocations: 4 kB / 1.423 GB, free: 11.5 MB / 1.123 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 0.0001371/1.104, allocations: 99.25 kB / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.674e-05/1.104, allocations: 15.94 kB / 1.423 GB, free: 11.38 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.104, allocations: 4.188 kB / 1.423 GB, free: 11.38 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/1.104, allocations: 4 kB / 1.423 GB, free: 11.38 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/1.104, allocations: 13.86 kB / 1.423 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.105, allocations: 127.4 kB / 1.423 GB, free: 11.21 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/1.105, allocations: 0.6768 MB / 1.423 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.012e-05/1.105, allocations: 12.53 kB / 1.423 GB, free: 10.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/1.105, allocations: 7.438 kB / 1.423 GB, free: 10.49 MB / 1.123 GB Notification: Performance of SimCode: time 2.91e-07/1.105, allocations: 0 / 1.423 GB, free: 10.49 MB / 1.123 GB Notification: Performance of Templates: time 0.003249/1.108, allocations: 0.5915 MB / 1.424 GB, free: 9.902 MB / 1.123 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.082920098211616]