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.001728/0.001728, allocations: 78.8 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001764/0.001764, allocations: 164.8 kB / 23.01 MB, free: 4.602 MB / 14.72 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.737/2.737, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3416, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.853/1.195, allocations: 130.3 MB / 1.245 GB, free: 8.184 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001728/1.195, allocations: 63.02 kB / 1.245 GB, free: 8.148 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/1.195, allocations: 0 / 1.245 GB, free: 8.148 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/1.195, allocations: 3.75 kB / 1.245 GB, free: 8.148 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/1.195, allocations: 9.641 kB / 1.245 GB, free: 8.145 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/1.196, allocations: 214.5 kB / 1.245 GB, free: 8.051 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.605e-05/1.196, allocations: 45.38 kB / 1.245 GB, free: 8.027 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/1.196, allocations: 2.156 kB / 1.245 GB, free: 8.027 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/1.196, allocations: 11.66 kB / 1.245 GB, free: 8.027 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/1.196, allocations: 12.97 kB / 1.245 GB, free: 8.023 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/1.196, allocations: 1.406 kB / 1.245 GB, free: 8.023 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/1.196, allocations: 159.9 kB / 1.245 GB, free: 7.961 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/1.197, allocations: 15.34 kB / 1.245 GB, free: 7.953 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/1.197, allocations: 5.438 kB / 1.245 GB, free: 7.953 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/1.197, allocations: 111.6 kB / 1.245 GB, free: 7.926 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/1.197, allocations: 0.7969 kB / 1.245 GB, free: 7.926 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.563e-06/1.197, allocations: 4.969 kB / 1.245 GB, free: 7.922 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.708e-06/1.197, allocations: 0 / 1.245 GB, free: 7.922 MB / 1.107 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.0004295/1.197, allocations: 267.6 kB / 1.246 GB, free: 7.652 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.197, allocations: 9.656 kB / 1.246 GB, free: 7.652 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/1.198, allocations: 22.31 kB / 1.246 GB, free: 7.652 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.198, allocations: 110.4 kB / 1.246 GB, free: 7.523 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/1.198, allocations: 57.14 kB / 1.246 GB, free: 7.457 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/1.198, allocations: 1.312 kB / 1.246 GB, free: 7.457 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/1.198, allocations: 74 kB / 1.246 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.198, allocations: 8.734 kB / 1.246 GB, free: 7.383 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.198, allocations: 0 / 1.246 GB, free: 7.383 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/1.198, allocations: 3.484 kB / 1.246 GB, free: 7.383 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/1.198, allocations: 19.58 kB / 1.246 GB, free: 7.379 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/1.198, allocations: 205.8 kB / 1.246 GB, free: 7.172 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/1.199, allocations: 20.08 kB / 1.246 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/1.199, allocations: 9.219 kB / 1.246 GB, free: 7.141 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/1.199, allocations: 22.44 kB / 1.246 GB, free: 7.133 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/1.199, allocations: 36.31 kB / 1.246 GB, free: 7.09 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.199, allocations: 0 / 1.246 GB, free: 7.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0002385/1.199, allocations: 56.55 kB / 1.246 GB, free: 7.047 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/1.199, allocations: 51.92 kB / 1.246 GB, free: 6.984 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/1.199, allocations: 108 kB / 1.246 GB, free: 6.879 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.199, allocations: 25.7 kB / 1.246 GB, free: 6.848 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/1.199, allocations: 86.12 kB / 1.246 GB, free: 6.762 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/1.199, allocations: 6.219 kB / 1.246 GB, free: 6.758 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/1.199, allocations: 21.95 kB / 1.246 GB, free: 6.734 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.199, allocations: 317.4 kB / 1.247 GB, free: 6.418 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/1.199, allocations: 8.047 kB / 1.247 GB, free: 6.414 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/1.199, allocations: 30.41 kB / 1.247 GB, free: 6.383 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/1.2, allocations: 29.14 kB / 1.247 GB, free: 6.355 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.2, allocations: 0.9375 kB / 1.247 GB, free: 6.355 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.468e-05/1.2, allocations: 53.56 kB / 1.247 GB, free: 6.316 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.2, allocations: 10.31 kB / 1.247 GB, free: 6.312 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.2, allocations: 0 / 1.247 GB, free: 6.312 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.2, allocations: 1.469 kB / 1.247 GB, free: 6.312 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/1.2, allocations: 10.11 kB / 1.247 GB, free: 6.309 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.2, allocations: 2.203 kB / 1.247 GB, free: 6.309 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/1.2, allocations: 1.406 kB / 1.247 GB, free: 6.309 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.2, allocations: 5.656 kB / 1.247 GB, free: 6.305 MB / 1.107 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 8.769e-05/1.2, allocations: 113.4 kB / 1.247 GB, free: 6.188 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/1.2, allocations: 6.906 kB / 1.247 GB, free: 6.184 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/1.2, allocations: 5.562 kB / 1.247 GB, free: 6.18 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.2, allocations: 4 kB / 1.247 GB, free: 6.176 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1.2, allocations: 2.234 kB / 1.247 GB, free: 6.176 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/1.2, allocations: 0 / 1.247 GB, free: 6.176 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/1.2, allocations: 317.9 kB / 1.247 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.2, allocations: 2.281 kB / 1.247 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/1.2, allocations: 3.5 kB / 1.247 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.2, allocations: 1.125 kB / 1.247 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/1.2, allocations: 1.094 kB / 1.247 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.2, allocations: 4.641 kB / 1.247 GB, free: 5.836 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.2, allocations: 5.062 kB / 1.247 GB, free: 5.832 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/1.2, allocations: 74.98 kB / 1.247 GB, free: 5.754 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/1.2, allocations: 5.75 kB / 1.247 GB, free: 5.75 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/1.2, allocations: 5.188 kB / 1.247 GB, free: 5.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/1.2, allocations: 12.47 kB / 1.247 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/1.2, allocations: 2.453 kB / 1.247 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/1.2, allocations: 0 / 1.247 GB, free: 5.742 MB / 1.107 GB Notification: Performance of sorting global known variables: time 9.386e-05/1.201, allocations: 81.52 kB / 1.248 GB, free: 5.668 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.201, allocations: 0 / 1.248 GB, free: 5.668 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001903/1.201, allocations: 6.5 kB / 1.248 GB, free: 5.668 MB / 1.107 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.0001278/1.201, allocations: 110.2 kB / 1.248 GB, free: 5.57 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.819e-05/1.201, allocations: 18.45 kB / 1.248 GB, free: 5.562 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.201, allocations: 1.062 kB / 1.248 GB, free: 5.562 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/1.201, allocations: 3.281 kB / 1.248 GB, free: 5.562 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.201, allocations: 8.812 kB / 1.248 GB, free: 5.559 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/1.201, allocations: 127.8 kB / 1.248 GB, free: 5.438 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/1.202, allocations: 60.02 kB / 1.248 GB, free: 5.367 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.791e-05/1.202, allocations: 6.594 kB / 1.248 GB, free: 5.367 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/1.202, allocations: 9.625 kB / 1.248 GB, free: 5.359 MB / 1.107 GB Notification: Performance of SimCode: time 3e-07/1.202, allocations: 1.281 kB / 1.248 GB, free: 5.359 MB / 1.107 GB Notification: Performance of Templates: time 0.003298/1.205, allocations: 0.6061 MB / 1.248 GB, free: 5.266 MB / 1.107 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 ida -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/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: 8.94855265703518]