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.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.001778/0.001778, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.002157/0.002157, allocations: 159.5 kB / 22.46 MB, free: 5.375 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.534/1.534, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.815/2.815, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.382e-06/1.382e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.307e-05, allocations: 10.22 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006354/0.006387, allocations: 3.885 MB / 0.9548 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.009796, allocations: 2.231 MB / 0.957 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.009889, allocations: 4 kB / 0.957 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.01016, allocations: 47.67 kB / 0.957 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.01059, allocations: 103.2 kB / 0.9571 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.01221, allocations: 0.562 MB / 0.9577 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.01258, allocations: 267.7 kB / 0.9579 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.01263, allocations: 9.797 kB / 0.958 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.01298, allocations: 159.6 kB / 0.9581 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.01316, allocations: 87.77 kB / 0.9582 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.01319, allocations: 8 kB / 0.9582 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.01397, allocations: 403 kB / 0.9586 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.01406, allocations: 43.83 kB / 0.9586 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.01417, allocations: 59.89 kB / 0.9587 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.01489, allocations: 446.7 kB / 0.9591 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.0149, allocations: 0 / 0.9591 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.0149, allocations: 0 / 0.9591 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.01491, allocations: 3.938 kB / 0.9591 GB, free: 3.215 MB / 0.8575 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.0009204/0.01583, allocations: 441.4 kB / 0.9595 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01586, allocations: 19.97 kB / 0.9596 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.01822, allocations: 192.5 kB / 0.9597 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.01858, allocations: 149.6 kB / 0.9599 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.01861, allocations: 12.7 kB / 0.9599 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.01865, allocations: 16.38 kB / 0.9599 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.01947, allocations: 0.5023 MB / 0.9604 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01948, allocations: 192 / 0.9604 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.01952, allocations: 12.12 kB / 0.9604 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.01954, allocations: 4 kB / 0.9604 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/0.02029, allocations: 255.6 kB / 0.9607 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.02192, allocations: 1.169 MB / 0.9618 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/0.02267, allocations: 182.4 kB / 0.962 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.0229, allocations: 64.81 kB / 0.962 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.02293, allocations: 8.047 kB / 0.962 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.02297, allocations: 42.5 kB / 0.9621 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.02297, allocations: 0 / 0.9621 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.000849/0.02382, allocations: 243.5 kB / 0.9623 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.02386, allocations: 55.41 kB / 0.9624 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.024, allocations: 139.8 kB / 0.9625 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.02403, allocations: 29.7 kB / 0.9625 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.02412, allocations: 140.1 kB / 0.9627 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.02418, allocations: 59.48 kB / 0.9627 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.02427, allocations: 49.89 kB / 0.9628 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.02442, allocations: 326.8 kB / 0.9631 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.02465, allocations: 68.41 kB / 0.9631 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.02493, allocations: 135.7 kB / 0.9633 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.02546, allocations: 223.2 kB / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.02546, allocations: 0 / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006416/0.0261, allocations: 253.1 kB / 0.9637 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02612, allocations: 8.312 kB / 0.9637 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.02612, allocations: 4 kB / 0.9637 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.02615, allocations: 4 kB / 0.9637 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.02654, allocations: 67.89 kB / 0.9638 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.02655, allocations: 4 kB / 0.9638 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.02678, allocations: 31.77 kB / 0.9638 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.02681, allocations: 16 kB / 0.9639 GB, free: 14 MB / 0.8731 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.0001346/0.02695, allocations: 133.7 kB / 0.964 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.027, allocations: 23.84 kB / 0.964 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.02768, allocations: 226.5 kB / 0.9642 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.02769, allocations: 7.984 kB / 0.9642 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02769, allocations: 0 / 0.9642 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0277, allocations: 0 / 0.9642 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.02795, allocations: 173.2 kB / 0.9644 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.02795, allocations: 0 / 0.9644 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.02828, allocations: 51.95 kB / 0.9644 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.02828, allocations: 3.938 kB / 0.9645 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.02831, allocations: 11.94 kB / 0.9645 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.02831, allocations: 8 kB / 0.9645 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02831, allocations: 0 / 0.9645 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.02894, allocations: 285.8 kB / 0.9647 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.02901, allocations: 35.75 kB / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.02905, allocations: 7.922 kB / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.02933, allocations: 15.98 kB / 0.9648 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.02937, allocations: 15.98 kB / 0.9648 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.0294, allocations: 11.98 kB / 0.9648 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.171e-05/0.02948, allocations: 105.1 kB / 0.9649 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.02948, allocations: 0 / 0.9649 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000376/0.02986, allocations: 63.94 kB / 0.965 GB, free: 12.79 MB / 0.8731 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.0002668/0.03013, allocations: 135.2 kB / 0.9651 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.03069, allocations: 171.8 kB / 0.9653 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.03069, allocations: 0.625 kB / 0.9653 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.03093, allocations: 79.89 kB / 0.9654 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.03135, allocations: 43.89 kB / 0.9654 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.03232, allocations: 383.7 kB / 0.9658 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03242, allocations: 110.5 kB / 0.9659 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.03266, allocations: 45.47 kB / 0.9659 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.03275, allocations: 24.48 kB / 0.9659 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.03275, allocations: 0 / 0.9659 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.007438/0.04019, allocations: 3.032 MB / 0.9689 GB, free: 8.809 MB / 0.8731 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.201031301170588]