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.001765/0.001765, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002156/0.002156, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.413/3.413, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.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.002078/0.002078, allocations: 70.7 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.433, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006777/0.4398, allocations: 3.886 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.4431, allocations: 2.231 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4432, allocations: 3.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.4435, allocations: 51.61 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.4439, allocations: 99.41 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.4458, allocations: 0.5475 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.4461, allocations: 259.9 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.4462, allocations: 17.72 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.4464, allocations: 115.5 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.4466, allocations: 99.62 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.4466, allocations: 12 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000848/0.4475, allocations: 403.3 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.4476, allocations: 35.89 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4477, allocations: 79.7 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.4484, allocations: 402.7 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4484, allocations: 4 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4484, allocations: 0 / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.4484, allocations: 0 / 1.335 GB, free: 8.719 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.0009847/0.4494, allocations: 453.3 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4495, allocations: 12.03 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.4517, allocations: 188.6 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.4521, allocations: 146.3 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.4522, allocations: 12.7 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.4522, allocations: 20.36 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.4531, allocations: 0.5059 MB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4531, allocations: 4 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.4532, allocations: 4 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4532, allocations: 11.94 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.454, allocations: 255.5 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.4557, allocations: 1.181 MB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.4565, allocations: 197.2 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.4567, allocations: 64.81 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4567, allocations: 4 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.4568, allocations: 42.56 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.4568, allocations: 0 / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008676/0.4576, allocations: 242.9 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4577, allocations: 59.34 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.4578, allocations: 139.9 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4579, allocations: 25.7 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.458, allocations: 140.2 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.458, allocations: 59.48 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4581, allocations: 53.88 kB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4583, allocations: 322.8 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.4585, allocations: 68.42 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.4588, allocations: 135.7 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.4593, allocations: 213.3 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4593, allocations: 7.875 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006221/0.46, allocations: 251 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.46, allocations: 4 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.46, allocations: 4 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.46, allocations: 4 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.4604, allocations: 67.89 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.4604, allocations: 12.23 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4607, allocations: 31.78 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4607, allocations: 19.98 kB / 1.34 GB, free: 3.473 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.0001515/0.4609, allocations: 134.2 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.4609, allocations: 7.953 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.4616, allocations: 231.9 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4616, allocations: 7.984 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4616, allocations: 0 / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4616, allocations: 0 / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.4619, allocations: 177.1 kB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4619, allocations: 4 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.4622, allocations: 55.89 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4623, allocations: 0 / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4623, allocations: 4 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4623, allocations: 4 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4623, allocations: 3.984 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.4629, allocations: 296.1 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.463, allocations: 35.75 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.463, allocations: 4 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4633, allocations: 15.98 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.4633, allocations: 11.98 kB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.4633, allocations: 15.98 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.279e-05/0.4634, allocations: 100.4 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4634, allocations: 4 kB / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003876/0.4638, allocations: 63.92 kB / 1.341 GB, free: 2.262 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.0002556/0.4641, allocations: 131.2 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005851/0.4646, allocations: 181.5 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4646, allocations: 0 / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.4649, allocations: 83.88 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.4653, allocations: 50.16 kB / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.4664, allocations: 412.5 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.4665, allocations: 102.7 kB / 1.342 GB, free: 1.273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.4668, allocations: 53.45 kB / 1.342 GB, free: 1.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.4669, allocations: 23.42 kB / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4669, allocations: 0 / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of Templates: time 0.009076/0.4759, allocations: 3.331 MB / 1.345 GB, free: 13.95 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 -s cvode -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: 9.63212192300125]