Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 191.9 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.951/2.951, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 75.88 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9432/0.9452, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007196/0.9524, allocations: 4.107 MB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003521/0.9559, allocations: 2.434 MB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.9561, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.9565, allocations: 55.66 kB / 1.281 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.9569, allocations: 103.3 kB / 1.281 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.9587, allocations: 0.5377 MB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.9592, allocations: 255.9 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.9593, allocations: 17.55 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.9595, allocations: 119.5 kB / 1.282 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.9597, allocations: 95.66 kB / 1.282 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.9598, allocations: 8 kB / 1.282 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.9609, allocations: 471.2 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.961, allocations: 39.83 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.9611, allocations: 83.66 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009878/0.9621, allocations: 409.5 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9621, allocations: 3.938 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9621, allocations: 0 / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.9621, allocations: 4 kB / 1.283 GB, free: 11.77 MB / 0.9825 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.001133/0.9632, allocations: 0.5102 MB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9633, allocations: 8.031 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.9655, allocations: 180.6 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.9659, allocations: 216.1 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.9659, allocations: 12.7 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.966, allocations: 12.38 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.9667, allocations: 316.3 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9667, allocations: 0 / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.9667, allocations: 15.98 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.9668, allocations: 4 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.9675, allocations: 267.5 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.9696, allocations: 1.377 MB / 1.285 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.9703, allocations: 186.3 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.9705, allocations: 72.81 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.9706, allocations: 3.984 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.9706, allocations: 38.56 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.9706, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009095/0.9715, allocations: 250.9 kB / 1.286 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.9716, allocations: 51.41 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.9717, allocations: 164.2 kB / 1.286 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.9718, allocations: 33.64 kB / 1.286 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.9719, allocations: 128.2 kB / 1.286 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.972, allocations: 63.47 kB / 1.286 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.9721, allocations: 49.89 kB / 1.286 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9722, allocations: 326.8 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.9724, allocations: 68.41 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.9727, allocations: 140.2 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.9732, allocations: 214.9 kB / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9732, allocations: 0 / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006278/0.9739, allocations: 259.3 kB / 1.287 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9739, allocations: 4 kB / 1.287 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9739, allocations: 4 kB / 1.287 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.9739, allocations: 4 kB / 1.287 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.9743, allocations: 68.2 kB / 1.287 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.9743, allocations: 4 kB / 1.287 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.9745, allocations: 31.75 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.9746, allocations: 16 kB / 1.288 GB, free: 6.352 MB / 0.9825 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.0001372/0.9747, allocations: 125.8 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.9748, allocations: 23.84 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.9754, allocations: 226.7 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.9754, allocations: 0 / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9755, allocations: 3.984 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9755, allocations: 0 / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.9759, allocations: 253.4 kB / 1.288 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9759, allocations: 0 / 1.288 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.9762, allocations: 47.91 kB / 1.288 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9762, allocations: 0 / 1.288 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.9762, allocations: 7.938 kB / 1.288 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9762, allocations: 4 kB / 1.288 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9762, allocations: 4 kB / 1.288 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.9768, allocations: 301.7 kB / 1.288 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9769, allocations: 104.9 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.9769, allocations: 7.938 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.9772, allocations: 15.98 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.9773, allocations: 15.98 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.9773, allocations: 7.984 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.9774, allocations: 117.9 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9774, allocations: 0 / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003634/0.9777, allocations: 63.94 kB / 1.289 GB, free: 4.949 MB / 0.9825 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.0002392/0.978, allocations: 135.7 kB / 1.289 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.9785, allocations: 176.5 kB / 1.289 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9785, allocations: 0 / 1.289 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.9788, allocations: 83.88 kB / 1.289 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.9793, allocations: 63.83 kB / 1.289 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.9803, allocations: 408.8 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.9807, allocations: 0.7139 MB / 1.29 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000245/0.9809, allocations: 57.92 kB / 1.29 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.981, allocations: 27.42 kB / 1.29 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.981, allocations: 0 / 1.29 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of Templates: time 0.008246/0.9893, allocations: 3.522 MB / 1.294 GB, free: 15.77 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.301790991332382]