Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001393/0.001393, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001496/0.001496, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.732/2.732, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.108e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006596/0.006627, allocations: 3.903 MB / 0.7902 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.009959, allocations: 2.233 MB / 0.7924 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.01004, allocations: 0 / 0.7924 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.01032, allocations: 45.44 kB / 0.7925 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.01065, allocations: 100.5 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.01219, allocations: 0.5565 MB / 0.7931 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.01259, allocations: 272.2 kB / 0.7934 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.01264, allocations: 5.812 kB / 0.7934 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.01293, allocations: 160 kB / 0.7935 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.01322, allocations: 88.97 kB / 0.7936 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.01325, allocations: 8 kB / 0.7936 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007899/0.01404, allocations: 391.1 kB / 0.794 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.01413, allocations: 44.36 kB / 0.794 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01423, allocations: 65.25 kB / 0.7941 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.01497, allocations: 442.6 kB / 0.7945 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01498, allocations: 0 / 0.7945 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01498, allocations: 0 / 0.7945 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.01499, allocations: 5.094 kB / 0.7945 GB, free: 4.492 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008834/0.01587, allocations: 457.3 kB / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01591, allocations: 9.031 kB / 0.795 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.01819, allocations: 255.2 kB / 0.7952 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.01856, allocations: 154.4 kB / 0.7954 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.01858, allocations: 12.7 kB / 0.7954 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.01863, allocations: 18.56 kB / 0.7954 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.01952, allocations: 0.5062 MB / 0.7959 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01953, allocations: 192 / 0.7959 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.01958, allocations: 12.66 kB / 0.7959 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.0196, allocations: 4 kB / 0.7959 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.02035, allocations: 243.1 kB / 0.7961 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.0222, allocations: 1.171 MB / 0.7973 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.02295, allocations: 185.9 kB / 0.7975 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.02321, allocations: 78 kB / 0.7975 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.02324, allocations: 4.656 kB / 0.7975 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.02329, allocations: 42.5 kB / 0.7976 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.02329, allocations: 0.6562 kB / 0.7976 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0009287/0.02422, allocations: 245.6 kB / 0.7978 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.02427, allocations: 59.31 kB / 0.7979 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.02443, allocations: 146.8 kB / 0.798 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.02447, allocations: 33.7 kB / 0.798 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.02458, allocations: 128.2 kB / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.02465, allocations: 67.42 kB / 0.7982 GB, free: 476 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.02476, allocations: 53.92 kB / 0.7983 GB, free: 412 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.02493, allocations: 318.8 kB / 0.7986 GB, free: 84 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.02518, allocations: 64.42 kB / 0.7986 GB, free: 20 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.02551, allocations: 139.2 kB / 0.7988 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.02606, allocations: 213.7 kB / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.02606, allocations: 5.125 kB / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006974/0.02676, allocations: 270.2 kB / 0.7992 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.02678, allocations: 8.062 kB / 0.7992 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.02679, allocations: 4 kB / 0.7992 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.02681, allocations: 4 kB / 0.7993 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.02725, allocations: 71.89 kB / 0.7993 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.02726, allocations: 4 kB / 0.7993 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.02752, allocations: 23.83 kB / 0.7993 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.02755, allocations: 15.98 kB / 0.7994 GB, free: 15.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001703/0.02772, allocations: 137.7 kB / 0.7995 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.0278, allocations: 19.89 kB / 0.7995 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007472/0.02855, allocations: 234.5 kB / 0.7997 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.02855, allocations: 4 kB / 0.7997 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.02856, allocations: 4 kB / 0.7997 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02857, allocations: 0 / 0.7997 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.02888, allocations: 169.1 kB / 0.7999 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.02888, allocations: 0 / 0.7999 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.02925, allocations: 51.95 kB / 0.8 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.02925, allocations: 8 kB / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.02927, allocations: 3.938 kB / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.02927, allocations: 0 / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.02928, allocations: 4 kB / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.02995, allocations: 305.1 kB / 0.8003 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.03004, allocations: 19.92 kB / 0.8003 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.03007, allocations: 11.94 kB / 0.8003 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.03036, allocations: 19.98 kB / 0.8003 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.0304, allocations: 7.984 kB / 0.8003 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.03043, allocations: 11.98 kB / 0.8003 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.03052, allocations: 101.5 kB / 0.8004 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03052, allocations: 0 / 0.8004 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006163/0.03113, allocations: 75.89 kB / 0.8005 GB, free: 13.99 MB / 0.7605 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 (20): * Single equations (assignments): 20 * 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.0002782/0.03141, allocations: 145.3 kB / 0.8006 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005781/0.03199, allocations: 168.4 kB / 0.8008 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.03199, allocations: 0 / 0.8008 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.03224, allocations: 89.56 kB / 0.8009 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.03279, allocations: 75.91 kB / 0.801 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.0338, allocations: 361.1 kB / 0.8013 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.03393, allocations: 103.1 kB / 0.8014 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.0342, allocations: 49.45 kB / 0.8014 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.0343, allocations: 24.48 kB / 0.8015 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of SimCode: time 4.31e-07/0.0343, allocations: 11.94 kB / 0.8015 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.008532/0.04283, allocations: 3.459 MB / 0.8049 GB, free: 9.586 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 7.857661611982621]