Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.00186/0.00186, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002302/0.002302, allocations: 223.1 kB / 23 MB, free: 4.91 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.002189/0.002189, allocations: 64.88 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3731, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005289/0.3783, allocations: 3.232 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001025/0.3784, allocations: 47.88 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.3785, allocations: 7.938 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.246e-05/0.3786, allocations: 3.938 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.3786, allocations: 15.91 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.3792, allocations: 180.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.889e-05/0.3792, allocations: 43.84 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.3793, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.3793, allocations: 23.91 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.3794, allocations: 11.98 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3794, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.3796, allocations: 139.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.3797, allocations: 4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3797, allocations: 7.938 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3799, allocations: 123.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3799, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3799, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.3799, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 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.0003211/0.3803, allocations: 278.1 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.405e-05/0.3803, allocations: 8.031 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.3803, allocations: 8.875 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3804, allocations: 102.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.3805, allocations: 59.97 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.3805, allocations: 384 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3806, allocations: 71.33 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3807, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3807, allocations: 7.984 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3807, allocations: 11.97 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.922e-05/0.3807, allocations: 8 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.3812, allocations: 240.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.3813, allocations: 22.61 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.3813, allocations: 4.859 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3814, allocations: 36.03 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3814, allocations: 34.56 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3814, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.3816, allocations: 45.59 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3816, allocations: 51.41 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.3817, allocations: 101.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3817, allocations: 25.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3818, allocations: 92.03 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-06/0.3818, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3818, allocations: 13.72 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.382, allocations: 326.7 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.382, allocations: 4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.382, allocations: 17.66 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.382, allocations: 29.77 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.382, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001412/0.3822, allocations: 49.66 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3822, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3822, allocations: 3.984 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3822, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.197e-05/0.3822, allocations: 11.94 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3823, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.3823, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3823, allocations: 8.062 kB / 1.332 GB, free: 12.18 MB / 1.029 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.014e-05/0.3824, allocations: 110.3 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3824, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.3825, allocations: 123.1 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-05/0.3826, allocations: 188.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-05/0.3827, allocations: 176.3 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/0.3827, allocations: 180.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.383, allocations: 364.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.383, allocations: 105 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.3831, allocations: 104.9 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-05/0.3831, allocations: 184.2 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-05/0.3832, allocations: 188.2 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.969e-05/0.3833, allocations: 176.3 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-05/0.3834, allocations: 176.3 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3836, allocations: 315.7 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.3836, allocations: 108.9 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.3837, allocations: 184.3 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3839, allocations: 105 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.384, allocations: 184.2 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.384, allocations: 105 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.3841, allocations: 87.28 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3841, allocations: 0 / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002846/0.3844, allocations: 39.86 kB / 1.335 GB, free: 8.855 MB / 1.029 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.0003064/0.3847, allocations: 234.6 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.3848, allocations: 7.938 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3848, allocations: 4 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3848, allocations: 0 / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.3853, allocations: 472.2 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3856, allocations: 215.7 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3857, allocations: 55.36 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3857, allocations: 15.5 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3857, allocations: 0 / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of Templates: time 0.002888/0.3886, allocations: 1.197 MB / 1.337 GB, free: 6.625 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 11.30658392701298]