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.00149/0.00149, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001695/0.001695, allocations: 161.6 kB / 23.01 MB, free: 4.598 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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 2.871/2.871, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002454/0.002454, allocations: 59.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.081, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004777/1.086, allocations: 3.882 MB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00226/1.088, allocations: 2.23 MB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/1.088, allocations: 2.875 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/1.088, allocations: 47 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/1.089, allocations: 105 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/1.09, allocations: 0.5548 MB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/1.09, allocations: 260.2 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/1.09, allocations: 15.05 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/1.09, allocations: 114.2 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/1.091, allocations: 94.34 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/1.091, allocations: 8.5 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006979/1.091, allocations: 400.5 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/1.091, allocations: 45.97 kB / 1.162 GB, free: 28.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/1.091, allocations: 76.3 kB / 1.162 GB, free: 28.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005435/1.092, allocations: 400.5 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.092, allocations: 0 / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/1.092, allocations: 0 / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.092, allocations: 2.938 kB / 1.162 GB, free: 28.31 MB / 1.076 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.0006438/1.093, allocations: 442.8 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/1.093, allocations: 12.56 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/1.095, allocations: 191 kB / 1.163 GB, free: 27.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/1.095, allocations: 153.8 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/1.095, allocations: 16.7 kB / 1.163 GB, free: 27.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/1.095, allocations: 20.42 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/1.096, allocations: 0.5039 MB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.096, allocations: 0 / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.096, allocations: 6.906 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.096, allocations: 5.875 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/1.096, allocations: 261.9 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/1.098, allocations: 1.165 MB / 1.165 GB, free: 26.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/1.098, allocations: 197.2 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/1.098, allocations: 71.61 kB / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/1.099, allocations: 2.688 kB / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/1.099, allocations: 37.19 kB / 1.165 GB, free: 26.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/1.099, allocations: 0 / 1.165 GB, free: 26.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0007518/1.099, allocations: 245.8 kB / 1.165 GB, free: 25.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.099, allocations: 51.41 kB / 1.165 GB, free: 25.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/1.099, allocations: 142.7 kB / 1.165 GB, free: 25.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.099, allocations: 36.86 kB / 1.165 GB, free: 25.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/1.1, allocations: 136.8 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/1.1, allocations: 62.5 kB / 1.166 GB, free: 25.58 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/1.1, allocations: 57.06 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/1.1, allocations: 324.7 kB / 1.166 GB, free: 25.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/1.1, allocations: 69.14 kB / 1.166 GB, free: 25.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/1.1, allocations: 138 kB / 1.166 GB, free: 25.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/1.101, allocations: 217.8 kB / 1.166 GB, free: 24.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.101, allocations: 6.781 kB / 1.166 GB, free: 24.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005347/1.101, allocations: 248.2 kB / 1.167 GB, free: 24.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.101, allocations: 5.625 kB / 1.167 GB, free: 24.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.101, allocations: 2.875 kB / 1.167 GB, free: 24.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.101, allocations: 5.812 kB / 1.167 GB, free: 24.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/1.101, allocations: 70.72 kB / 1.167 GB, free: 24.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.101, allocations: 2.812 kB / 1.167 GB, free: 24.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.102, allocations: 30.39 kB / 1.167 GB, free: 24.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.102, allocations: 11.8 kB / 1.167 GB, free: 24.81 MB / 1.076 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 9.614e-05/1.102, allocations: 134.4 kB / 1.167 GB, free: 24.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/1.102, allocations: 12.2 kB / 1.167 GB, free: 24.67 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/1.102, allocations: 235 kB / 1.167 GB, free: 24.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.102, allocations: 2.438 kB / 1.167 GB, free: 24.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.102, allocations: 4 kB / 1.167 GB, free: 24.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.102, allocations: 0 / 1.167 GB, free: 24.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/1.103, allocations: 173.5 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.103, allocations: 2.75 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/1.103, allocations: 50.25 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.103, allocations: 2.781 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.103, allocations: 0 / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.103, allocations: 6.562 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.103, allocations: 0 / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/1.104, allocations: 302.5 kB / 1.168 GB, free: 24.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/1.104, allocations: 35.19 kB / 1.168 GB, free: 24.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/1.104, allocations: 2.812 kB / 1.168 GB, free: 24.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/1.104, allocations: 18.7 kB / 1.168 GB, free: 24.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/1.104, allocations: 11.66 kB / 1.168 GB, free: 24.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/1.104, allocations: 13.66 kB / 1.168 GB, free: 24.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.609e-05/1.104, allocations: 106.2 kB / 1.168 GB, free: 24.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.104, allocations: 4 kB / 1.168 GB, free: 24.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003951/1.104, allocations: 58.66 kB / 1.168 GB, free: 24.07 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.0001957/1.105, allocations: 147.3 kB / 1.168 GB, free: 23.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005039/1.105, allocations: 173 kB / 1.168 GB, free: 23.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.105, allocations: 2.625 kB / 1.168 GB, free: 23.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/1.105, allocations: 82.86 kB / 1.168 GB, free: 23.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/1.106, allocations: 45.33 kB / 1.168 GB, free: 23.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/1.107, allocations: 415.2 kB / 1.169 GB, free: 23.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/1.107, allocations: 104.6 kB / 1.169 GB, free: 23.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002277/1.107, allocations: 50.8 kB / 1.169 GB, free: 23.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/1.107, allocations: 21.91 kB / 1.169 GB, free: 23.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/1.107, allocations: 0 / 1.169 GB, free: 23.54 MB / 1.076 GB Notification: Performance of Templates: time 0.007196/1.114, allocations: 3.039 MB / 1.172 GB, free: 23.16 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.592131027020514]