Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001483/0.001483, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001448/0.001448, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.48 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7322, allocations: 162.2 MB / 1.083 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.0055/0.7377, allocations: 4.036 MB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.741, allocations: 2.426 MB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.7412, allocations: 1.094 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.7416, allocations: 50.75 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.742, allocations: 93.7 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.7436, allocations: 0.5222 MB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000386/0.744, allocations: 265.9 kB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.7441, allocations: 21.23 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.7443, allocations: 109.3 kB / 1.09 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.7445, allocations: 99.22 kB / 1.09 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.7445, allocations: 12.94 kB / 1.09 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.7456, allocations: 454.5 kB / 1.091 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.7457, allocations: 39 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.7459, allocations: 80.41 kB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008542/0.7467, allocations: 410.8 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7467, allocations: 1.656 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7467, allocations: 0 / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.7468, allocations: 0.7969 kB / 1.091 GB, free: 12.38 MB / 0.8419 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.0008739/0.7476, allocations: 0.504 MB / 1.092 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7477, allocations: 13.31 kB / 1.092 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.7497, allocations: 176.5 kB / 1.092 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.75, allocations: 207.2 kB / 1.092 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.7501, allocations: 19.23 kB / 1.092 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.7501, allocations: 15.02 kB / 1.092 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.7508, allocations: 311.1 kB / 1.092 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.7509, allocations: 9.297 kB / 1.093 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.009e-05/0.7509, allocations: 7.219 kB / 1.093 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.7509, allocations: 5.734 kB / 1.093 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.7517, allocations: 266.5 kB / 1.093 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.7536, allocations: 1.39 MB / 1.094 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.7543, allocations: 185.8 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.7545, allocations: 81.91 kB / 1.094 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.7546, allocations: 6.172 kB / 1.094 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.7546, allocations: 38.16 kB / 1.094 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.7546, allocations: 0 / 1.094 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008758/0.7555, allocations: 245.5 kB / 1.095 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.7556, allocations: 58.2 kB / 1.095 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.7557, allocations: 160.1 kB / 1.095 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.7558, allocations: 31.98 kB / 1.095 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.7559, allocations: 123.4 kB / 1.095 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.756, allocations: 64.03 kB / 1.095 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.7561, allocations: 49.7 kB / 1.095 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7562, allocations: 322.8 kB / 1.095 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.7565, allocations: 68.45 kB / 1.096 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.7568, allocations: 136.4 kB / 1.096 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.7573, allocations: 226.5 kB / 1.096 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7573, allocations: 0.8125 kB / 1.096 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006571/0.758, allocations: 250.1 kB / 1.096 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.758, allocations: 14.67 kB / 1.096 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.758, allocations: 2.625 kB / 1.096 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.7581, allocations: 3.75 kB / 1.096 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.7585, allocations: 62.25 kB / 1.096 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.7585, allocations: 5.859 kB / 1.096 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.7588, allocations: 36.58 kB / 1.096 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.7588, allocations: 14.97 kB / 1.096 GB, free: 8.715 MB / 0.8419 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.0001461/0.7589, allocations: 131.9 kB / 1.096 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.759, allocations: 12.38 kB / 1.096 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.7597, allocations: 226.8 kB / 1.097 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7597, allocations: 2.875 kB / 1.097 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7597, allocations: 4 kB / 1.097 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7598, allocations: 2.078 kB / 1.097 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.7601, allocations: 251 kB / 1.097 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7601, allocations: 0 / 1.097 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.7604, allocations: 47.31 kB / 1.097 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.7604, allocations: 2.219 kB / 1.097 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.7605, allocations: 6.656 kB / 1.097 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7605, allocations: 0.7188 kB / 1.097 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7605, allocations: 0.7188 kB / 1.097 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.7611, allocations: 306.1 kB / 1.097 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.7612, allocations: 105.7 kB / 1.097 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.7613, allocations: 5.25 kB / 1.097 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.7616, allocations: 13.81 kB / 1.097 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.7616, allocations: 21.52 kB / 1.097 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.7616, allocations: 8.25 kB / 1.097 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001006/0.7617, allocations: 117.9 kB / 1.097 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7617, allocations: 1 kB / 1.097 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003874/0.7621, allocations: 64.61 kB / 1.097 GB, free: 7.816 MB / 0.8419 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.0002265/0.7624, allocations: 127.5 kB / 1.098 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005996/0.763, allocations: 191.5 kB / 1.098 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.763, allocations: 1.094 kB / 1.098 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.7632, allocations: 92.64 kB / 1.098 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.7638, allocations: 67.27 kB / 1.098 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.7648, allocations: 445.7 kB / 1.098 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.7652, allocations: 0.7143 MB / 1.099 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.7653, allocations: 27.61 kB / 1.099 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of SimCode: time 2.936e-06/0.7653, allocations: 0 / 1.099 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.005931/0.7713, allocations: 2.921 MB / 1.102 GB, free: 6.387 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches