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.00137/0.00137, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001761/0.001761, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.515/3.515, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] 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.002153/0.002153, allocations: 73.36 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3936, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.008627/0.4022, allocations: 3.89 MB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.406, allocations: 2.235 MB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.4062, allocations: 4 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.4066, allocations: 47.67 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.407, allocations: 103.3 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.409, allocations: 0.5383 MB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.4095, allocations: 267.8 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.4096, allocations: 9.734 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.41, allocations: 115.6 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.4102, allocations: 91.58 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.4103, allocations: 12 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.4114, allocations: 395.3 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4115, allocations: 39.83 kB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.4117, allocations: 79.7 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.4127, allocations: 402.8 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.4127, allocations: 3.984 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4127, allocations: 4 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.4127, allocations: 0 / 1.372 GB, free: 5.316 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.00109/0.4138, allocations: 449.3 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4139, allocations: 12.03 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.416, allocations: 188.6 kB / 1.373 GB, free: 4.648 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.4164, allocations: 150.3 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.4164, allocations: 12.7 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.4165, allocations: 20.38 kB / 1.373 GB, free: 4.445 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.4174, allocations: 0.5097 MB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4174, allocations: 4 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.4175, allocations: 4 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.4175, allocations: 8 kB / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.4183, allocations: 251.6 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.4201, allocations: 1.181 MB / 1.375 GB, free: 2.344 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.4208, allocations: 194.4 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.421, allocations: 64.81 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.4211, allocations: 4 kB / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4211, allocations: 42.5 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.4211, allocations: 0 / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.000837/0.422, allocations: 243.6 kB / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.422, allocations: 55.41 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4222, allocations: 140.1 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.4222, allocations: 25.7 kB / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4223, allocations: 136.2 kB / 1.375 GB, free: 1.402 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.4224, allocations: 63.44 kB / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.4225, allocations: 49.92 kB / 1.376 GB, free: 1.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.4227, allocations: 322.8 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.423, allocations: 68.42 kB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.4232, allocations: 142.2 kB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.4238, allocations: 213.3 kB / 1.376 GB, free: 488 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4238, allocations: 3.938 kB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006441/0.4244, allocations: 258.9 kB / 1.377 GB, free: 220 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4244, allocations: 4 kB / 1.377 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4244, allocations: 4 kB / 1.377 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4245, allocations: 4 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.4248, allocations: 71.88 kB / 1.377 GB, free: 136 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4249, allocations: 4 kB / 1.377 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.4251, allocations: 32.08 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.4251, allocations: 19.98 kB / 1.377 GB, free: 80 kB / 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.0001506/0.4253, allocations: 130.8 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.4253, allocations: 11.91 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.426, allocations: 235.9 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.426, allocations: 4 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.426, allocations: 3.938 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.426, allocations: 0 / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.4263, allocations: 177.1 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4263, allocations: 0 / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.4266, allocations: 51.97 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4266, allocations: 0 / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.4266, allocations: 7.984 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4266, allocations: 4 kB / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4266, allocations: 0 / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.4272, allocations: 301.1 kB / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.4273, allocations: 27.86 kB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.4273, allocations: 8 kB / 1.378 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4276, allocations: 15.98 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.4276, allocations: 15.97 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.4277, allocations: 8 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.4278, allocations: 104.7 kB / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4278, allocations: 0 / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003733/0.4281, allocations: 67.89 kB / 1.378 GB, free: 14.87 MB / 1.076 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.0002173/0.4283, allocations: 131.2 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005852/0.4289, allocations: 172.3 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.4289, allocations: 0 / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.4292, allocations: 87.81 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4296, allocations: 46.95 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4307, allocations: 418.6 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.4308, allocations: 102.7 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.4311, allocations: 53.44 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.4312, allocations: 23.42 kB / 1.379 GB, free: 13.81 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.4312, allocations: 4 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of Templates: time 0.007876/0.4391, allocations: 3.262 MB / 1.382 GB, free: 10.64 MB / 1.076 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/jenkins/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: 9.783925732597709]