Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001374/0.001374, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001636/0.001636, allocations: 217.2 kB / 22.99 MB, free: 4.945 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: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.789/2.789, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002083/0.002083, allocations: 68.12 kB / 1.118 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 169.9 MB / 1.284 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006764/0.3609, allocations: 3.896 MB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.3612, allocations: 147.6 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.3612, allocations: 3.938 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3613, allocations: 4 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.3614, allocations: 19.92 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.3617, allocations: 71.75 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.3618, allocations: 35.84 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.3619, allocations: 4 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.3619, allocations: 19.91 kB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.362, allocations: 23.92 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.362, allocations: 0 / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.3622, allocations: 51.81 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.3622, allocations: 11.92 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.3623, allocations: 11.94 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3624, allocations: 59.86 kB / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3624, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3624, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3624, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004415/0.3629, allocations: 266.3 kB / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3629, allocations: 8.031 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3629, allocations: 8.875 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3631, allocations: 110.5 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.3632, allocations: 51.97 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3632, allocations: 4.375 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3633, allocations: 75.27 kB / 1.289 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3633, allocations: 0 / 1.289 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3633, allocations: 0 / 1.289 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3634, allocations: 0 / 1.289 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.3634, allocations: 15.98 kB / 1.289 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.3638, allocations: 208.5 kB / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.3639, allocations: 26.52 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.3639, allocations: 8.922 kB / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.3639, allocations: 4 kB / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3639, allocations: 30.56 kB / 1.289 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3639, allocations: 0 / 1.289 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.3641, allocations: 37.69 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3641, allocations: 51.41 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.3642, allocations: 109.8 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3642, allocations: 29.77 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.3643, allocations: 96.08 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.3643, allocations: 0 / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3644, allocations: 13.72 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3645, allocations: 322.8 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.3645, allocations: 3.984 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.3645, allocations: 13.72 kB / 1.289 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.3646, allocations: 21.72 kB / 1.289 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3646, allocations: 0 / 1.289 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.277e-05/0.3647, allocations: 57.62 kB / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3647, allocations: 4 kB / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3647, allocations: 0 / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3647, allocations: 0 / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.222e-05/0.3647, allocations: 4 kB / 1.29 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3648, allocations: 7.984 kB / 1.29 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.3648, allocations: 3.953 kB / 1.29 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.3648, allocations: 3.938 kB / 1.29 GB, free: 13.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.616e-05/0.3649, allocations: 113.8 kB / 1.29 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3649, allocations: 3.938 kB / 1.29 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.365, allocations: 129 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.221e-05/0.3651, allocations: 180.5 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.732e-05/0.3652, allocations: 180.2 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.175e-05/0.3653, allocations: 180.2 kB / 1.29 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3656, allocations: 364.7 kB / 1.291 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.673e-05/0.3656, allocations: 105 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.3657, allocations: 101 kB / 1.291 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.099e-05/0.3658, allocations: 184.2 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/0.3658, allocations: 180.3 kB / 1.291 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.241e-05/0.3659, allocations: 188.2 kB / 1.291 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.713e-05/0.366, allocations: 180.3 kB / 1.292 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3662, allocations: 307.7 kB / 1.292 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.3663, allocations: 109 kB / 1.292 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3664, allocations: 188.2 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3665, allocations: 101 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.3666, allocations: 184.2 kB / 1.292 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.3667, allocations: 105 kB / 1.292 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.3667, allocations: 83.28 kB / 1.293 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 0 / 1.293 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002579/0.367, allocations: 19.94 kB / 1.293 GB, free: 10.45 MB / 0.9981 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 (0): * Single equations (assignments): 0 * 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.000195/0.3672, allocations: 194.4 kB / 1.293 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.3673, allocations: 15.92 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3673, allocations: 4 kB / 1.293 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3673, allocations: 0 / 1.293 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.3678, allocations: 462.1 kB / 1.293 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.3681, allocations: 211.8 kB / 1.293 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.413e-05/0.3681, allocations: 59.34 kB / 1.293 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.3682, allocations: 15.56 kB / 1.293 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3682, allocations: 0 / 1.293 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.002466/0.3706, allocations: 0.7359 MB / 1.294 GB, free: 8.703 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 10.985299122985452]