Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001197/0.001197, allocations: 110.1 kB / 19.7 MB, free: 2.266 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.001314/0.001314, allocations: 214.5 kB / 23 MB, free: 5.113 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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 2.881/2.881, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [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.001954/0.001954, allocations: 64.08 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 176.1 MB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005602/0.2954, allocations: 4.168 MB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.2983, allocations: 2.473 MB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.2983, allocations: 3.938 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.2986, allocations: 43.73 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.2988, allocations: 99.36 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3001, allocations: 0.5498 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.3004, allocations: 263.8 kB / 1.335 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3005, allocations: 9.75 kB / 1.335 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3007, allocations: 111.6 kB / 1.335 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3008, allocations: 103.6 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3008, allocations: 12 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008136/0.3017, allocations: 479.2 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.3017, allocations: 43.83 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.3018, allocations: 79.64 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.3024, allocations: 422.7 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3024, allocations: 0 / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3024, allocations: 0 / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3024, allocations: 0 / 1.336 GB, free: 8.531 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007556/0.3032, allocations: 457.3 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3032, allocations: 12.03 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.3053, allocations: 192.6 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.3056, allocations: 150.3 kB / 1.337 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3056, allocations: 16.7 kB / 1.337 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.3057, allocations: 12.38 kB / 1.337 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.3063, allocations: 308.3 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3063, allocations: 4 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.3063, allocations: 8 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.3063, allocations: 4 kB / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.307, allocations: 267.5 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.3087, allocations: 1.36 MB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.3093, allocations: 186.4 kB / 1.339 GB, free: 5.379 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.3095, allocations: 76.81 kB / 1.339 GB, free: 5.301 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3095, allocations: 7.984 kB / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3096, allocations: 34.56 kB / 1.339 GB, free: 5.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.3096, allocations: 0 / 1.339 GB, free: 5.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0007575/0.3103, allocations: 243 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3104, allocations: 55.34 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3105, allocations: 168.2 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3105, allocations: 25.7 kB / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.3106, allocations: 132.2 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3107, allocations: 71.36 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.3108, allocations: 45.92 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3109, allocations: 326.8 kB / 1.34 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.3111, allocations: 68.42 kB / 1.34 GB, free: 4.086 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3114, allocations: 138.3 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.3118, allocations: 223.3 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3118, allocations: 0 / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005743/0.3124, allocations: 257.1 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3124, allocations: 9.406 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.3124, allocations: 0 / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3124, allocations: 4 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3128, allocations: 64.2 kB / 1.341 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3128, allocations: 11.94 kB / 1.341 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.313, allocations: 31.83 kB / 1.341 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3131, allocations: 11.98 kB / 1.341 GB, free: 3.281 MB / 1.029 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.0001379/0.3132, allocations: 138.2 kB / 1.341 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.3133, allocations: 15.91 kB / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.3139, allocations: 228 kB / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3139, allocations: 0 / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3139, allocations: 0 / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3139, allocations: 4 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.3141, allocations: 220.5 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3141, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.3144, allocations: 47.91 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3145, allocations: 0 / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3145, allocations: 4 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3145, allocations: 3.984 kB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3145, allocations: 3.938 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.315, allocations: 304.5 kB / 1.342 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.3151, allocations: 27.88 kB / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3151, allocations: 0 / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.3154, allocations: 19.98 kB / 1.342 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.3154, allocations: 15.97 kB / 1.342 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3155, allocations: 8 kB / 1.342 GB, free: 2.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.857e-05/0.3156, allocations: 121.5 kB / 1.342 GB, free: 2.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3156, allocations: 3.938 kB / 1.342 GB, free: 2.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003468/0.3159, allocations: 55.94 kB / 1.342 GB, free: 2.012 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 (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.0002122/0.3161, allocations: 139.1 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.3166, allocations: 173.5 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3166, allocations: 0.625 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.3168, allocations: 83.89 kB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.3173, allocations: 55.83 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.3182, allocations: 444.3 kB / 1.343 GB, free: 1.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.3186, allocations: 0.7172 MB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3187, allocations: 23.42 kB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3187, allocations: 4 kB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of Templates: time 0.005001/0.3237, allocations: 2.953 MB / 1.346 GB, free: 13.39 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.127214884007117]