Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 106.6 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7551, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004869/0.76, allocations: 4.037 MB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.7624, allocations: 2.43 MB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.7625, allocations: 1.5 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.7628, allocations: 45.88 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.7631, allocations: 102.5 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.7646, allocations: 0.5158 MB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.7651, allocations: 256.7 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.7651, allocations: 19.08 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.7654, allocations: 116.5 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.7655, allocations: 98.98 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.7656, allocations: 12.25 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.7666, allocations: 455.6 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.7667, allocations: 39.91 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.7668, allocations: 85.02 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.7676, allocations: 402.8 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7676, allocations: 0.8125 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7676, allocations: 0 / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.7677, allocations: 5.156 kB / 1.097 GB, free: 15.98 MB / 0.8731 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.0008153/0.7685, allocations: 0.5046 MB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7685, allocations: 9.812 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.7706, allocations: 176 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.7709, allocations: 218.5 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.7709, allocations: 12.2 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.771, allocations: 18.3 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.7717, allocations: 311.5 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.7717, allocations: 0.6562 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.7717, allocations: 11.73 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.7718, allocations: 9.672 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.7725, allocations: 258.2 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.7742, allocations: 1.381 MB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.7749, allocations: 186.5 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.7751, allocations: 93 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.7752, allocations: 7.922 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7752, allocations: 31.88 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.7752, allocations: 1.125 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0008216/0.776, allocations: 246.7 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7761, allocations: 53.62 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.7762, allocations: 161.5 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.7763, allocations: 31.89 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.7764, allocations: 123 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.7764, allocations: 59.97 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.7765, allocations: 49.84 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7766, allocations: 326.5 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.7769, allocations: 69.42 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.7772, allocations: 146.2 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.7777, allocations: 215.2 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.7777, allocations: 1.125 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006118/0.7783, allocations: 256.9 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.7783, allocations: 6.219 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7783, allocations: 2.75 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7784, allocations: 4.594 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.7787, allocations: 78.17 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7788, allocations: 4.797 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.779, allocations: 30.27 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.779, allocations: 10.45 kB / 1.102 GB, free: 12.32 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.0001332/0.7792, allocations: 130.4 kB / 1.102 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.7792, allocations: 16.75 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.7799, allocations: 233.2 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7799, allocations: 2.188 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7799, allocations: 1.312 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7799, allocations: 1.453 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.7803, allocations: 250.8 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7803, allocations: 1.219 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.7806, allocations: 43.33 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.7806, allocations: 1.094 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.7806, allocations: 12.3 kB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7806, allocations: 4 kB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7806, allocations: 3.984 kB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.7812, allocations: 297.1 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.7813, allocations: 114 kB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.7814, allocations: 5.953 kB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.7817, allocations: 22.52 kB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.7817, allocations: 9.781 kB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.7818, allocations: 11.81 kB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.7819, allocations: 113.5 kB / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7819, allocations: 1.062 kB / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000417/0.7823, allocations: 60.09 kB / 1.103 GB, free: 11.42 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.0002765/0.7826, allocations: 137.8 kB / 1.103 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.7832, allocations: 188.7 kB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7832, allocations: 1.344 kB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.7834, allocations: 86.28 kB / 1.104 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.7839, allocations: 65.44 kB / 1.104 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.785, allocations: 433 kB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.7853, allocations: 0.7178 MB / 1.105 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7854, allocations: 32.86 kB / 1.105 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7854, allocations: 0 / 1.105 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.006565/0.792, allocations: 2.934 MB / 1.108 GB, free: 9.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches