Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,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.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 185 kB / 498.1 MB, free: 5.656 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 0.7948 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.000902, allocations: 96.27 kB / 0.9346 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005109, allocations: 12.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/1.264, allocations: 392.4 MB / 1.606 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.264, allocations: 76.34 kB / 1.606 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.04448/1.309, allocations: 20.22 MB / 1.626 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.835e-06/1.309, allocations: 0 / 1.626 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.309, allocations: 0 / 1.626 GB, free: 7.855 MB / 0.9323 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.0007377/1.31, allocations: 485.1 kB / 1.626 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.31, allocations: 8.031 kB / 1.626 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/1.31, allocations: 27.75 kB / 1.626 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/1.31, allocations: 217.2 kB / 1.627 GB, free: 7.066 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.31, allocations: 11.81 kB / 1.627 GB, free: 7.059 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/1.31, allocations: 15.44 kB / 1.627 GB, free: 7.047 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/1.311, allocations: 244.3 kB / 1.627 GB, free: 6.848 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.311, allocations: 0 / 1.627 GB, free: 6.848 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/1.311, allocations: 15.05 kB / 1.627 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/1.311, allocations: 4 kB / 1.627 GB, free: 6.836 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/1.311, allocations: 425.4 kB / 1.627 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.312, allocations: 0.9966 MB / 1.628 GB, free: 5.508 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/1.313, allocations: 161.1 kB / 1.628 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/1.314, allocations: 1.846 MB / 1.63 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.314, allocations: 41.81 kB / 1.63 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.314, allocations: 0 / 1.63 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0003189/1.315, allocations: 139.8 kB / 1.63 GB, free: 3.043 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.315, allocations: 63.28 kB / 1.63 GB, free: 2.969 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.315, allocations: 154.9 kB / 1.631 GB, free: 2.824 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/1.315, allocations: 25.7 kB / 1.631 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/1.315, allocations: 146.9 kB / 1.631 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/1.315, allocations: 54.39 kB / 1.631 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/1.315, allocations: 3 kB / 1.631 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.315, allocations: 325.6 kB / 1.631 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/1.315, allocations: 31.11 kB / 1.631 GB, free: 2.266 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/1.315, allocations: 148.5 kB / 1.631 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.066e-05/1.315, allocations: 56.45 kB / 1.631 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.315, allocations: 0 / 1.631 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003059/1.316, allocations: 220.5 kB / 1.632 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.316, allocations: 7.953 kB / 1.632 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.316, allocations: 4 kB / 1.632 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.316, allocations: 8 kB / 1.632 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/1.316, allocations: 56.38 kB / 1.632 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.316, allocations: 11.98 kB / 1.632 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/1.316, allocations: 23.12 kB / 1.632 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/1.316, allocations: 15.56 kB / 1.632 GB, free: 1.742 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.316, allocations: 128.8 kB / 1.632 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/1.316, allocations: 15.91 kB / 1.632 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/1.317, allocations: 163.6 kB / 1.632 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.317, allocations: 11.92 kB / 1.632 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.317, allocations: 4 kB / 1.632 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.317, allocations: 0 / 1.632 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.317, allocations: 220.4 kB / 1.632 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.317, allocations: 0 / 1.632 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.317, allocations: 31.73 kB / 1.632 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/1.317, allocations: 0 / 1.632 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.317, allocations: 0 / 1.632 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.317, allocations: 7.953 kB / 1.632 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.317, allocations: 3.938 kB / 1.632 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/1.317, allocations: 215.6 kB / 1.632 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/1.317, allocations: 115.8 kB / 1.633 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/1.317, allocations: 11.97 kB / 1.633 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/1.318, allocations: 19.73 kB / 1.633 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/1.318, allocations: 11.94 kB / 1.633 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/1.318, allocations: 11.5 kB / 1.633 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.221e-05/1.318, allocations: 119.5 kB / 1.633 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.318, allocations: 0 / 1.633 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004178/1.318, allocations: 90.61 kB / 1.633 GB, free: 0.5938 MB / 0.9323 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/1.318, allocations: 198.3 kB / 1.633 GB, free: 404 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000218/1.319, allocations: 109.6 kB / 1.633 GB, free: 312 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.319, allocations: 4.875 kB / 1.633 GB, free: 308 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/1.319, allocations: 45.78 kB / 1.633 GB, free: 272 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/1.319, allocations: 43.09 kB / 1.633 GB, free: 240 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/1.32, allocations: 433.7 kB / 1.634 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.32, allocations: 0.7211 MB / 1.634 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001761/1.32, allocations: 45.75 kB / 1.634 GB, free: 15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/1.32, allocations: 26.67 kB / 1.634 GB, free: 14.98 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/1.32, allocations: 4 kB / 1.634 GB, free: 14.98 MB / 0.948 GB Notification: Performance of Templates: time 0.006847/1.327, allocations: 3.419 MB / 1.638 GB, free: 11.6 MB / 0.948 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterProperties.csv","../files/Buildings_9_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches