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.001397/0.001397, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.001445/0.001445, allocations: 214.4 kB / 23 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.509/1.509, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.25/3.25, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.002028/0.002028, allocations: 64.58 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4087, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006168/0.4149, allocations: 3.888 MB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.4179, allocations: 2.235 MB / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.4179, allocations: 0 / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.4182, allocations: 39.7 kB / 1.371 GB, free: 7.391 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.4185, allocations: 103.3 kB / 1.371 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.4199, allocations: 0.5535 MB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.4202, allocations: 263.8 kB / 1.372 GB, free: 6.477 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.4203, allocations: 9.75 kB / 1.372 GB, free: 6.465 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.4205, allocations: 119.5 kB / 1.372 GB, free: 6.348 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.4207, allocations: 87.66 kB / 1.372 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.4207, allocations: 12 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007246/0.4214, allocations: 403.3 kB / 1.372 GB, free: 5.855 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.4215, allocations: 31.91 kB / 1.372 GB, free: 5.824 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.4216, allocations: 79.7 kB / 1.372 GB, free: 5.746 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.4222, allocations: 402.8 kB / 1.373 GB, free: 5.352 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4222, allocations: 0 / 1.373 GB, free: 5.352 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4222, allocations: 0 / 1.373 GB, free: 5.352 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4222, allocations: 0 / 1.373 GB, free: 5.352 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.0008184/0.4231, allocations: 449.3 kB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4231, allocations: 15.97 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.4251, allocations: 188.6 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4255, allocations: 162.3 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.4255, allocations: 12.7 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.4255, allocations: 16.38 kB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.4263, allocations: 0.4942 MB / 1.374 GB, free: 3.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4264, allocations: 4 kB / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.4264, allocations: 8 kB / 1.374 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.4264, allocations: 8 kB / 1.374 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.4271, allocations: 255.6 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.4289, allocations: 1.177 MB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.4296, allocations: 186.4 kB / 1.376 GB, free: 2.188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.4298, allocations: 68.81 kB / 1.376 GB, free: 2.117 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.4298, allocations: 7.938 kB / 1.376 GB, free: 2.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4299, allocations: 42.56 kB / 1.376 GB, free: 2.059 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.4299, allocations: 4 kB / 1.376 GB, free: 2.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0008212/0.4307, allocations: 235.9 kB / 1.376 GB, free: 1.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4307, allocations: 55.41 kB / 1.376 GB, free: 1.754 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4309, allocations: 144.1 kB / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.4309, allocations: 29.7 kB / 1.376 GB, free: 1.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.431, allocations: 140.2 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.4311, allocations: 67.42 kB / 1.376 GB, free: 1.363 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.4311, allocations: 53.86 kB / 1.376 GB, free: 1.301 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4313, allocations: 322.8 kB / 1.377 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.4315, allocations: 64.42 kB / 1.377 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.4318, allocations: 142.3 kB / 1.377 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/0.4324, allocations: 213.3 kB / 1.377 GB, free: 0.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4324, allocations: 7.938 kB / 1.377 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009105/0.4333, allocations: 250.9 kB / 1.377 GB, free: 248 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4333, allocations: 4 kB / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4333, allocations: 8.312 kB / 1.377 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.4334, allocations: 7.984 kB / 1.377 GB, free: 228 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.4339, allocations: 67.89 kB / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4339, allocations: 4 kB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.4343, allocations: 27.81 kB / 1.377 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.4343, allocations: 8 kB / 1.377 GB, free: 120 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.0002056/0.4345, allocations: 138.4 kB / 1.378 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.4346, allocations: 15.89 kB / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.4356, allocations: 232.1 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.4356, allocations: 7.984 kB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4356, allocations: 4 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4356, allocations: 3.984 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.436, allocations: 173 kB / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.436, allocations: 0 / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.4365, allocations: 55.91 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4365, allocations: 0 / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4365, allocations: 3.984 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4365, allocations: 4 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4365, allocations: 4 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008735/0.4374, allocations: 292.6 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4375, allocations: 27.86 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.4375, allocations: 4 kB / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.438, allocations: 15.98 kB / 1.378 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.438, allocations: 11.97 kB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.438, allocations: 16 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001111/0.4382, allocations: 104.7 kB / 1.379 GB, free: 14.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4382, allocations: 0 / 1.379 GB, free: 14.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00067/0.4388, allocations: 63.89 kB / 1.379 GB, free: 14.91 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.00029/0.4391, allocations: 139.2 kB / 1.379 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008372/0.44, allocations: 167.8 kB / 1.379 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.44, allocations: 0 / 1.379 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.4403, allocations: 90.73 kB / 1.379 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.441, allocations: 47.78 kB / 1.379 GB, free: 14.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4424, allocations: 446.2 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.4426, allocations: 110.7 kB / 1.38 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.4428, allocations: 23.42 kB / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.4428, allocations: 0 / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of Templates: time 0.007988/0.4507, allocations: 2.822 MB / 1.382 GB, free: 11.05 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/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: 11.472278894856572]