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.008/2.008, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0009893/0.0009891, allocations: 188.8 kB / 487.4 MB, free: 5.051 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.344/1.344, allocations: 221.5 MB / 0.7824 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009461/0.0009461, allocations: 102.5 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.324e-05, allocations: 0 / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2562, allocations: 142.4 MB / 1.206 GB, free: 44.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9824/1.239, allocations: 391.7 MB / 1.588 GB, free: 14.6 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/1.239, allocations: 70.02 kB / 1.589 GB, free: 14.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.04377/1.283, allocations: 20.06 MB / 1.608 GB, free: 14.45 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.172e-06/1.283, allocations: 0 / 1.608 GB, free: 14.45 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.283, allocations: 4 kB / 1.608 GB, free: 14.45 MB / 1.026 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.0007179/1.284, allocations: 476.8 kB / 1.609 GB, free: 13.95 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.284, allocations: 8.031 kB / 1.609 GB, free: 13.94 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/1.284, allocations: 27.8 kB / 1.609 GB, free: 13.91 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/1.284, allocations: 219.1 kB / 1.609 GB, free: 13.67 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.284, allocations: 4 kB / 1.609 GB, free: 13.66 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/1.284, allocations: 8 kB / 1.609 GB, free: 13.66 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005065/1.285, allocations: 413.5 kB / 1.609 GB, free: 13.32 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/1.285, allocations: 211 kB / 1.609 GB, free: 13.14 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.285, allocations: 0 / 1.609 GB, free: 13.14 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/1.285, allocations: 4 kB / 1.609 GB, free: 13.14 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/1.285, allocations: 7.875 kB / 1.609 GB, free: 13.13 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.286, allocations: 0.9479 MB / 1.61 GB, free: 12.2 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/1.286, allocations: 149 kB / 1.61 GB, free: 12.07 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/1.287, allocations: 47.55 kB / 1.611 GB, free: 12.03 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/1.289, allocations: 1.913 MB / 1.612 GB, free: 9.801 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.289, allocations: 38.12 kB / 1.612 GB, free: 9.758 MB / 1.026 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/1.289, allocations: 3.938 kB / 1.612 GB, free: 9.754 MB / 1.026 GB Notification: Performance of matching and sorting (n=15): time 0.0006488/1.289, allocations: 131.9 kB / 1.613 GB, free: 9.633 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.289, allocations: 55.41 kB / 1.613 GB, free: 9.566 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/1.29, allocations: 133.2 kB / 1.613 GB, free: 9.438 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/1.29, allocations: 25.7 kB / 1.613 GB, free: 9.406 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.29, allocations: 154.4 kB / 1.613 GB, free: 9.258 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/1.29, allocations: 46.48 kB / 1.613 GB, free: 9.219 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/1.29, allocations: 0 / 1.613 GB, free: 9.219 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.29, allocations: 322.5 kB / 1.613 GB, free: 8.898 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/1.29, allocations: 27.8 kB / 1.613 GB, free: 8.879 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/1.29, allocations: 132.6 kB / 1.613 GB, free: 8.715 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/1.291, allocations: 84.08 kB / 1.614 GB, free: 8.648 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.291, allocations: 4 kB / 1.614 GB, free: 8.645 MB / 1.026 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005811/1.291, allocations: 204.3 kB / 1.614 GB, free: 8.457 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.291, allocations: 9.875 kB / 1.614 GB, free: 8.449 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.291, allocations: 4 kB / 1.614 GB, free: 8.445 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.291, allocations: 4 kB / 1.614 GB, free: 8.441 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.292, allocations: 63.05 kB / 1.614 GB, free: 8.383 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/1.292, allocations: 15.92 kB / 1.614 GB, free: 8.367 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/1.292, allocations: 24.25 kB / 1.614 GB, free: 8.344 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/1.292, allocations: 8 kB / 1.614 GB, free: 8.336 MB / 1.026 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 () * 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.0001565/1.292, allocations: 112.7 kB / 1.614 GB, free: 8.223 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/1.292, allocations: 15.81 kB / 1.614 GB, free: 8.207 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/1.293, allocations: 162 kB / 1.614 GB, free: 8.059 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.293, allocations: 4 kB / 1.614 GB, free: 8.055 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.293, allocations: 3.953 kB / 1.614 GB, free: 8.051 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.293, allocations: 3.984 kB / 1.614 GB, free: 8.047 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/1.293, allocations: 190.4 kB / 1.614 GB, free: 7.84 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.293, allocations: 3.984 kB / 1.614 GB, free: 7.836 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/1.293, allocations: 31.92 kB / 1.614 GB, free: 7.805 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.293, allocations: 0 / 1.614 GB, free: 7.805 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.293, allocations: 4 kB / 1.614 GB, free: 7.801 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.293, allocations: 0 / 1.614 GB, free: 7.801 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.293, allocations: 0 / 1.614 GB, free: 7.801 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/1.294, allocations: 239.5 kB / 1.615 GB, free: 7.57 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.294, allocations: 117.8 kB / 1.615 GB, free: 7.445 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/1.294, allocations: 4 kB / 1.615 GB, free: 7.441 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.294, allocations: 19.92 kB / 1.615 GB, free: 7.422 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/1.294, allocations: 7.984 kB / 1.615 GB, free: 7.414 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.294, allocations: 14.92 kB / 1.615 GB, free: 7.402 MB / 1.026 GB Notification: Performance of sorting global known variables: time 9.327e-05/1.294, allocations: 109.8 kB / 1.615 GB, free: 7.305 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.51e-07/1.294, allocations: 0 / 1.615 GB, free: 7.305 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004481/1.295, allocations: 82.83 kB / 1.615 GB, free: 7.227 MB / 1.026 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 () * 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.0003686/1.295, allocations: 182.6 kB / 1.615 GB, free: 7.043 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002407/1.295, allocations: 103.2 kB / 1.615 GB, free: 6.957 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.295, allocations: 0 / 1.615 GB, free: 6.957 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/1.295, allocations: 42.98 kB / 1.615 GB, free: 6.922 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/1.296, allocations: 36.41 kB / 1.615 GB, free: 6.891 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/1.296, allocations: 168.8 kB / 1.615 GB, free: 6.719 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/1.297, allocations: 0.7128 MB / 1.616 GB, free: 5.973 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002042/1.297, allocations: 53.64 kB / 1.616 GB, free: 5.918 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/1.297, allocations: 19.44 kB / 1.616 GB, free: 5.898 MB / 1.026 GB Notification: Performance of SimCode: time 3.5e-07/1.297, allocations: 0 / 1.616 GB, free: 5.898 MB / 1.026 GB Notification: Performance of Templates: time 0.00678/1.304, allocations: 2.943 MB / 1.619 GB, free: 2.992 MB / 1.026 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