Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001449/0.001449, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00158/0.00158, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.968/2.968, allocations: 0.505 GB / 0.8108 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001881/0.001881, allocations: 72.88 kB / 1.178 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2927, allocations: 180.2 MB / 1.354 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005655/0.2983, allocations: 4.16 MB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.3012, allocations: 2.461 MB / 1.361 GB, free: 1.422 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.3013, allocations: 3.938 kB / 1.361 GB, free: 1.418 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.3015, allocations: 47.67 kB / 1.361 GB, free: 1.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.3018, allocations: 107.3 kB / 1.361 GB, free: 1.266 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3029, allocations: 0.5536 MB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3032, allocations: 263.9 kB / 1.362 GB, free: 468 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.3033, allocations: 5.75 kB / 1.362 GB, free: 460 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3035, allocations: 119.5 kB / 1.362 GB, free: 340 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.3036, allocations: 95.66 kB / 1.362 GB, free: 244 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3036, allocations: 8 kB / 1.362 GB, free: 236 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.3044, allocations: 483.2 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.3045, allocations: 35.89 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.3046, allocations: 91.59 kB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006039/0.3052, allocations: 422.7 kB / 1.363 GB, free: 15.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3052, allocations: 0 / 1.363 GB, free: 15.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3052, allocations: 0 / 1.363 GB, free: 15.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3052, allocations: 0 / 1.363 GB, free: 15.22 MB / 1.061 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.0007711/0.306, allocations: 449.3 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.306, allocations: 12.03 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.3081, allocations: 192.6 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3084, allocations: 154.3 kB / 1.364 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3084, allocations: 12.7 kB / 1.364 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.3084, allocations: 16.38 kB / 1.364 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.309, allocations: 308.3 kB / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3091, allocations: 0 / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.3091, allocations: 15.94 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.3091, allocations: 4 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.3098, allocations: 267.5 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3115, allocations: 1.36 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.3121, allocations: 184.3 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.3123, allocations: 68.81 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3123, allocations: 8 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3124, allocations: 38.56 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.3124, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0007398/0.3131, allocations: 241.4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3131, allocations: 59.34 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3133, allocations: 156.3 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.3133, allocations: 33.7 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.3134, allocations: 132.2 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.3135, allocations: 67.42 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.3136, allocations: 57.88 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3137, allocations: 318.8 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3139, allocations: 64.42 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.3142, allocations: 142.3 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.3146, allocations: 222.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3146, allocations: 7.938 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005619/0.3152, allocations: 251.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3152, allocations: 8 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3152, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3152, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.3156, allocations: 63.89 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3156, allocations: 7.938 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.3158, allocations: 28.08 kB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.3158, allocations: 19.98 kB / 1.368 GB, free: 9.973 MB / 1.061 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.0001256/0.316, allocations: 134.3 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.316, allocations: 15.91 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.3166, allocations: 230.6 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3167, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3167, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3167, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.317, allocations: 216.5 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.317, allocations: 3.938 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.3173, allocations: 47.91 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3173, allocations: 4 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3173, allocations: 7.984 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3173, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3173, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.3178, allocations: 301.3 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.3179, allocations: 23.88 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.3179, allocations: 8 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3182, allocations: 15.98 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3182, allocations: 11.97 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.3182, allocations: 12 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.594e-05/0.3183, allocations: 113.5 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3183, allocations: 7.938 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003403/0.3187, allocations: 67.88 kB / 1.369 GB, free: 8.695 MB / 1.061 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.0001954/0.3189, allocations: 134.5 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.3194, allocations: 175.7 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3194, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3196, allocations: 80.52 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.32, allocations: 63.88 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.3209, allocations: 446.2 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3213, allocations: 0.7211 MB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3214, allocations: 27.42 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3214, allocations: 0 / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of Templates: time 0.004841/0.3262, allocations: 2.943 MB / 1.373 GB, free: 4.078 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.137245509016793]