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.00189/0.00189, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00294/0.00294, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.793 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.926/2.926, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] 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.002231/0.002231, allocations: 65.5 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3787, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006442/0.3852, allocations: 3.904 MB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002184/0.3854, allocations: 139.5 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.3854, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3856, allocations: 4 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.3857, allocations: 15.91 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.386, allocations: 83.62 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.3861, allocations: 31.92 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.3862, allocations: 4 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.3863, allocations: 35.84 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.3864, allocations: 7.984 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3864, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.3866, allocations: 55.81 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.3867, allocations: 11.98 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3867, allocations: 11.94 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3869, allocations: 55.86 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3869, allocations: 3.984 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3869, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3869, allocations: 7.938 kB / 1.287 GB, free: 7.66 MB / 0.9825 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.000524/0.3874, allocations: 258.3 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3875, allocations: 8.031 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3875, allocations: 8.891 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3876, allocations: 106.5 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.3877, allocations: 55.97 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3878, allocations: 4.125 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3879, allocations: 67.39 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3879, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3879, allocations: 3.984 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.388, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.388, allocations: 16 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.3885, allocations: 216.5 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.3886, allocations: 22.52 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.3886, allocations: 4.859 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.3886, allocations: 4.062 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3887, allocations: 34.56 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3887, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001761/0.3889, allocations: 41.62 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3889, allocations: 55.53 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.389, allocations: 105.8 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.389, allocations: 25.7 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.3891, allocations: 92.09 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.3891, allocations: 0 / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.3891, allocations: 13.72 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3893, allocations: 318.8 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.3893, allocations: 7.984 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.3894, allocations: 13.72 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.3894, allocations: 21.72 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3894, allocations: 4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.762e-05/0.3895, allocations: 53.56 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3895, allocations: 4 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3895, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.3895, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.3896, allocations: 11.92 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3896, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.3896, allocations: 3.953 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3896, allocations: 7.938 kB / 1.289 GB, free: 5.895 MB / 0.9825 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 0.0001023/0.3897, allocations: 113.8 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3898, allocations: 4 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.3899, allocations: 121 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/0.39, allocations: 180.5 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/0.3901, allocations: 176.3 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/0.3902, allocations: 184.2 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3905, allocations: 364.7 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.998e-05/0.3906, allocations: 101 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.3906, allocations: 104.9 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-05/0.3907, allocations: 180.3 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.3908, allocations: 188.2 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.422e-05/0.3909, allocations: 180.2 kB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-05/0.391, allocations: 184.3 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.3912, allocations: 307.7 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.3913, allocations: 105 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3914, allocations: 184.2 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3915, allocations: 105 kB / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3917, allocations: 184.2 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.3917, allocations: 105 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.3918, allocations: 87.28 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3918, allocations: 4 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002765/0.392, allocations: 15.94 kB / 1.292 GB, free: 2.602 MB / 0.9825 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.0002126/0.3923, allocations: 196.3 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.3923, allocations: 15.94 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3923, allocations: 0 / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.3923, allocations: 0 / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.3929, allocations: 461.5 kB / 1.292 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.3932, allocations: 190.2 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.3933, allocations: 59.34 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.3933, allocations: 15.81 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.3933, allocations: 11.44 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3933, allocations: 0 / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of Templates: time 0.00343/0.3968, allocations: 0.6615 MB / 1.293 GB, free: 0.957 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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: 9.739833859726787]