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.001047/0.001047, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002254, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007184/0.0007184, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008984/0.001617, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0904/1.095, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.824/1.824, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4756/2.3, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.746e-05, allocations: 3.438 kB / 0.7297 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004006/0.004024, allocations: 4.285 MB / 0.7339 GB, free: 84 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.005882, allocations: 2.603 MB / 0.7364 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.00596, allocations: 0 / 0.7364 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.006133, allocations: 47.75 kB / 0.7365 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.006323, allocations: 117.4 kB / 0.7366 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.0072, allocations: 0.6213 MB / 0.7372 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.007449, allocations: 295.7 kB / 0.7375 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.007489, allocations: 6.469 kB / 0.7375 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.007687, allocations: 183.5 kB / 0.7377 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.007812, allocations: 76.44 kB / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.007832, allocations: 8 kB / 0.7378 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.008358, allocations: 435.8 kB / 0.7382 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.008427, allocations: 35.88 kB / 0.7382 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.00848, allocations: 48.69 kB / 0.7382 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.008903, allocations: 366.8 kB / 0.7386 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.008916, allocations: 2.125 kB / 0.7386 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.008917, allocations: 0 / 0.7386 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.008928, allocations: 0 / 0.7386 GB, free: 11.29 MB / 0.7136 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.0007454/0.009674, allocations: 0.5554 MB / 0.7391 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.00971, allocations: 11.97 kB / 0.7392 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.01074, allocations: 278.6 kB / 0.7394 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.01092, allocations: 140.8 kB / 0.7396 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.01093, allocations: 8.703 kB / 0.7396 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.01097, allocations: 24.38 kB / 0.7396 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.0113, allocations: 461.9 kB / 0.74 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.01131, allocations: 192 / 0.74 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.01133, allocations: 20.11 kB / 0.74 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.01135, allocations: 4 kB / 0.74 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.01151, allocations: 150.7 kB / 0.7402 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.01224, allocations: 1.067 MB / 0.7412 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01243, allocations: 126 kB / 0.7414 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.01248, allocations: 40.84 kB / 0.7414 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.0125, allocations: 8 kB / 0.7414 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.01252, allocations: 34.56 kB / 0.7414 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.01252, allocations: 0 / 0.7414 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0002041/0.01272, allocations: 146.7 kB / 0.7416 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.01274, allocations: 55.41 kB / 0.7416 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.01281, allocations: 143.4 kB / 0.7418 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.01284, allocations: 33.7 kB / 0.7418 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.01289, allocations: 128.2 kB / 0.7419 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.01292, allocations: 67.36 kB / 0.742 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.01298, allocations: 59.22 kB / 0.742 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.01305, allocations: 326.8 kB / 0.7424 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.01308, allocations: 23.98 kB / 0.7424 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.01315, allocations: 111 kB / 0.7425 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01328, allocations: 170.7 kB / 0.7426 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01329, allocations: 0 / 0.7426 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001597/0.01345, allocations: 168.6 kB / 0.7428 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01346, allocations: 16.08 kB / 0.7428 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01347, allocations: 4 kB / 0.7428 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01348, allocations: 7.938 kB / 0.7428 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.01369, allocations: 72.53 kB / 0.7429 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01369, allocations: 4.625 kB / 0.7429 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.01378, allocations: 28.55 kB / 0.7429 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.0138, allocations: 12 kB / 0.7429 GB, free: 6.512 MB / 0.7136 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 (29): * Single equations (assignments): 29 * 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 6.998e-05/0.01387, allocations: 129.2 kB / 0.7431 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.0139, allocations: 20.5 kB / 0.7431 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.0141, allocations: 159.4 kB / 0.7432 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.0141, allocations: 4.594 kB / 0.7432 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.0141, allocations: 0 / 0.7432 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.01411, allocations: 0.625 kB / 0.7432 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.01423, allocations: 121.7 kB / 0.7434 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.01423, allocations: 1.25 kB / 0.7434 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.01438, allocations: 59.89 kB / 0.7434 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.01442, allocations: 24.44 kB / 0.7434 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01442, allocations: 0 / 0.7434 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01443, allocations: 4.75 kB / 0.7434 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01443, allocations: 4 kB / 0.7434 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01443, allocations: 1.406 kB / 0.7434 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.01458, allocations: 221.4 kB / 0.7437 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.0146, allocations: 10.69 kB / 0.7437 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.01469, allocations: 15.98 kB / 0.7437 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.01471, allocations: 7.984 kB / 0.7437 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.01473, allocations: 11.98 kB / 0.7437 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.055e-05/0.01475, allocations: 24.83 kB / 0.7437 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01475, allocations: 0 / 0.7437 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001955/0.01494, allocations: 71.89 kB / 0.7438 GB, free: 5.594 MB / 0.7136 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 (22): * Single equations (assignments): 22 * 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.0001493/0.01509, allocations: 114.8 kB / 0.7439 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.01525, allocations: 135.6 kB / 0.744 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.01526, allocations: 4 kB / 0.744 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.01533, allocations: 87.73 kB / 0.7441 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01565, allocations: 187.7 kB / 0.7443 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.01846, allocations: 392.3 kB / 0.7447 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.0185, allocations: 76.86 kB / 0.7447 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.01866, allocations: 47.69 kB / 0.7448 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.01885, allocations: 128.2 kB / 0.7449 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.01885, allocations: 0 / 0.7449 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of Templates: time 0.005528/0.02438, allocations: 4.057 MB / 0.7489 GB, free: 0.5195 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.883163310587406]