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.001472/0.001472, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001842/0.001842, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.032/3.032, allocations: 476.7 MB / 0.7706 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002342/0.002342, allocations: 72.33 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4129, allocations: 170 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006091/0.419, allocations: 4.167 MB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.4221, allocations: 2.457 MB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.4222, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.4225, allocations: 51.67 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.4228, allocations: 107.3 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4243, allocations: 0.541 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.4247, allocations: 263.9 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.4247, allocations: 5.75 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.4249, allocations: 127.5 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.4251, allocations: 95.59 kB / 1.292 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.4251, allocations: 11.98 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.4262, allocations: 475.2 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.4262, allocations: 43.81 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4263, allocations: 83.66 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.4271, allocations: 422.7 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4271, allocations: 0 / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4271, allocations: 0 / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4271, allocations: 0 / 1.292 GB, free: 2.406 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.0008129/0.4279, allocations: 461.3 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4279, allocations: 8.031 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.43, allocations: 192.6 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.4304, allocations: 154.3 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.4304, allocations: 8.703 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.4305, allocations: 20.38 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.4312, allocations: 312.3 kB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4312, allocations: 3.938 kB / 1.294 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.4313, allocations: 11.94 kB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.4313, allocations: 4 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.432, allocations: 263.6 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.4339, allocations: 1.357 MB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.4346, allocations: 179.9 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.4348, allocations: 76.81 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.4348, allocations: 0 / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4349, allocations: 42.55 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.4349, allocations: 0 / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008684/0.4358, allocations: 241.3 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4358, allocations: 59.39 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.436, allocations: 157.2 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.436, allocations: 33.7 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.4361, allocations: 132.1 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.4362, allocations: 67.44 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.4363, allocations: 49.92 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4364, allocations: 326.8 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4366, allocations: 60.42 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.4369, allocations: 151 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.4374, allocations: 219.7 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4374, allocations: 4 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006063/0.438, allocations: 245.2 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4381, allocations: 10.66 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4381, allocations: 7.984 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.4381, allocations: 4.312 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.4385, allocations: 67.89 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4385, allocations: 4 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.4387, allocations: 27.84 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.4388, allocations: 11.98 kB / 1.297 GB, free: 13.17 MB / 0.9981 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.0001442/0.4389, allocations: 137.7 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.439, allocations: 15.91 kB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006295/0.4396, allocations: 226.6 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4396, allocations: 11.94 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4396, allocations: 0 / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4396, allocations: 0 / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.4399, allocations: 220.5 kB / 1.298 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4399, allocations: 0 / 1.298 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.4402, allocations: 47.97 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4402, allocations: 3.984 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4403, allocations: 0 / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4403, allocations: 3.938 kB / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4403, allocations: 4 kB / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.4409, allocations: 301.4 kB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.441, allocations: 31.88 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.441, allocations: 0 / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.4413, allocations: 23.97 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4413, allocations: 7.984 kB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.4413, allocations: 15.98 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001038/0.4415, allocations: 111.2 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4415, allocations: 0 / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003818/0.4418, allocations: 67.89 kB / 1.298 GB, free: 11.89 MB / 0.9981 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.0002449/0.4421, allocations: 135.2 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.4427, allocations: 176.3 kB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4427, allocations: 4 kB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.4429, allocations: 75.88 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.4434, allocations: 65.95 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4446, allocations: 408.5 kB / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.4451, allocations: 0.7177 MB / 1.3 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002798/0.4454, allocations: 49.92 kB / 1.3 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.4455, allocations: 27.42 kB / 1.3 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.4455, allocations: 4 kB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.01008/0.4556, allocations: 3.56 MB / 1.304 GB, free: 6.672 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 -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: 9.867936776019633]