Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001214, allocations: 187.6 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000952/0.0009521, allocations: 99.78 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003515, allocations: 5.469 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8868/1.105, allocations: 373.3 MB / 1.265 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.105, allocations: 68.34 kB / 1.265 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.04454/1.149, allocations: 19.3 MB / 1.284 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.412e-06/1.15, allocations: 4 kB / 1.284 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.15, allocations: 4 kB / 1.284 GB, free: 10.29 MB / 0.7917 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.0007676/1.15, allocations: 473.8 kB / 1.284 GB, free: 9.785 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.15, allocations: 12.03 kB / 1.284 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/1.151, allocations: 19.81 kB / 1.284 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/1.151, allocations: 213.5 kB / 1.284 GB, free: 9.516 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.151, allocations: 12.14 kB / 1.284 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/1.151, allocations: 11.5 kB / 1.284 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/1.151, allocations: 249.7 kB / 1.285 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.151, allocations: 0 / 1.285 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/1.151, allocations: 7.562 kB / 1.285 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.151, allocations: 11.5 kB / 1.285 GB, free: 9.281 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/1.152, allocations: 426.9 kB / 1.285 GB, free: 8.934 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.153, allocations: 1.028 MB / 1.286 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/1.153, allocations: 169.4 kB / 1.286 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/1.155, allocations: 1.839 MB / 1.288 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.155, allocations: 30.56 kB / 1.288 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/1.155, allocations: 0 / 1.288 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0003248/1.155, allocations: 150.8 kB / 1.288 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/1.155, allocations: 55.41 kB / 1.288 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/1.156, allocations: 155.3 kB / 1.288 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/1.156, allocations: 25.7 kB / 1.288 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.156, allocations: 142.3 kB / 1.288 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/1.156, allocations: 58.72 kB / 1.288 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.156, allocations: 3.875 kB / 1.289 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.156, allocations: 325.8 kB / 1.289 GB, free: 4.691 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/1.156, allocations: 39.36 kB / 1.289 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/1.156, allocations: 136.1 kB / 1.289 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/1.156, allocations: 58.06 kB / 1.289 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.156, allocations: 0 / 1.289 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003244/1.157, allocations: 211.5 kB / 1.289 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.157, allocations: 8.469 kB / 1.289 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.157, allocations: 8 kB / 1.289 GB, free: 4.254 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.157, allocations: 11.89 kB / 1.289 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/1.157, allocations: 59.91 kB / 1.289 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.157, allocations: 7.938 kB / 1.289 GB, free: 4.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.157, allocations: 33.92 kB / 1.289 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.157, allocations: 12 kB / 1.289 GB, free: 4.137 MB / 0.7917 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.0001098/1.157, allocations: 129.3 kB / 1.289 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/1.157, allocations: 15.81 kB / 1.29 GB, free: 3.996 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/1.157, allocations: 153 kB / 1.29 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.158, allocations: 0 / 1.29 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.158, allocations: 3.953 kB / 1.29 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.158, allocations: 7.969 kB / 1.29 GB, free: 3.855 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/1.158, allocations: 219.6 kB / 1.29 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/1.158, allocations: 4 kB / 1.29 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/1.158, allocations: 31.86 kB / 1.29 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.158, allocations: 4 kB / 1.29 GB, free: 3.574 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.158, allocations: 3.984 kB / 1.29 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.158, allocations: 4 kB / 1.29 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.158, allocations: 0 / 1.29 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/1.158, allocations: 223.2 kB / 1.29 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/1.158, allocations: 119.8 kB / 1.29 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/1.158, allocations: 3.75 kB / 1.29 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.159, allocations: 4 kB / 1.29 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/1.159, allocations: 11.67 kB / 1.29 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/1.159, allocations: 15.98 kB / 1.29 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.907e-05/1.159, allocations: 124.7 kB / 1.29 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.2e-07/1.159, allocations: 0 / 1.29 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004045/1.159, allocations: 79.61 kB / 1.29 GB, free: 3.02 MB / 0.7917 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.000308/1.159, allocations: 190.6 kB / 1.291 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002207/1.16, allocations: 115.1 kB / 1.291 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.16, allocations: 4.312 kB / 1.291 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/1.16, allocations: 43.67 kB / 1.291 GB, free: 2.691 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/1.16, allocations: 50.44 kB / 1.291 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/1.161, allocations: 422.8 kB / 1.291 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/1.161, allocations: 0.7133 MB / 1.292 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002215/1.161, allocations: 53.78 kB / 1.292 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/1.161, allocations: 27.38 kB / 1.292 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of SimCode: time 5.81e-07/1.161, allocations: 0 / 1.292 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of Templates: time 0.007109/1.169, allocations: 3.33 MB / 1.295 GB, free: 14.12 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_WaterProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches