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.467/1.467, allocations: 249.3 MB / 261.8 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 190.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009581/0.0009581, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.572e-05/4.574e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2568, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.638/1.895, allocations: 373.3 MB / 1.256 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/1.896, allocations: 69.83 kB / 1.256 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05635/1.952, allocations: 19.25 MB / 1.275 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/1.952, allocations: 0 / 1.275 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.952, allocations: 3 kB / 1.275 GB, free: 306.5 MB / 0.8542 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.001073/1.953, allocations: 464.2 kB / 1.276 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/1.953, allocations: 8.344 kB / 1.276 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/1.954, allocations: 24.84 kB / 1.276 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/1.954, allocations: 220.5 kB / 1.276 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/1.954, allocations: 14.3 kB / 1.276 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/1.954, allocations: 13.41 kB / 1.276 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/1.955, allocations: 238.4 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.955, allocations: 1.344 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/1.955, allocations: 10.81 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/1.955, allocations: 7.734 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/1.955, allocations: 432 kB / 1.277 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/1.957, allocations: 1.025 MB / 1.278 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/1.957, allocations: 158 kB / 1.278 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.957, allocations: 52.58 kB / 1.278 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.959, allocations: 1.926 MB / 1.28 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.959, allocations: 40.73 kB / 1.28 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/1.959, allocations: 0 / 1.28 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000355/1.959, allocations: 115.9 kB / 1.28 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.959, allocations: 56.38 kB / 1.28 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/1.959, allocations: 151.3 kB / 1.28 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.959, allocations: 31.08 kB / 1.28 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/1.96, allocations: 147.6 kB / 1.28 GB, free: 302 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/1.96, allocations: 53.34 kB / 1.28 GB, free: 302 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/1.96, allocations: 5.25 kB / 1.28 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/1.96, allocations: 322.2 kB / 1.28 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/1.96, allocations: 40.67 kB / 1.281 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/1.96, allocations: 135.3 kB / 1.281 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/1.96, allocations: 62.33 kB / 1.281 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.96, allocations: 1.25 kB / 1.281 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003767/1.96, allocations: 203.2 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.96, allocations: 10.77 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.96, allocations: 4.031 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.961, allocations: 9.891 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/1.961, allocations: 60.75 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.961, allocations: 8 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.961, allocations: 29.06 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/1.961, allocations: 10.88 kB / 1.281 GB, free: 301.3 MB / 0.8542 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 7.964e-05/1.961, allocations: 126.5 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/1.961, allocations: 12.22 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/1.961, allocations: 160.1 kB / 1.281 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.962, allocations: 9.125 kB / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.962, allocations: 1.469 kB / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.962, allocations: 0 / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/1.962, allocations: 213.5 kB / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.962, allocations: 0 / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/1.962, allocations: 31.28 kB / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.962, allocations: 4.875 kB / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.962, allocations: 1.438 kB / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.962, allocations: 5.422 kB / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.962, allocations: 3.953 kB / 1.282 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/1.962, allocations: 217.8 kB / 1.282 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.962, allocations: 121.9 kB / 1.282 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/1.962, allocations: 1.406 kB / 1.282 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/1.963, allocations: 16.95 kB / 1.282 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/1.963, allocations: 12.95 kB / 1.282 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/1.963, allocations: 14.92 kB / 1.282 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.77e-05/1.963, allocations: 111.9 kB / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.963, allocations: 0 / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004903/1.963, allocations: 80.86 kB / 1.282 GB, free: 300.4 MB / 0.8542 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.0003997/1.964, allocations: 191.2 kB / 1.282 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003002/1.964, allocations: 115.6 kB / 1.282 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.964, allocations: 1.188 kB / 1.282 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/1.964, allocations: 45.14 kB / 1.282 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/1.965, allocations: 42.33 kB / 1.283 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/1.965, allocations: 176.2 kB / 1.283 GB, free: 300 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.965, allocations: 0.7197 MB / 1.283 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002171/1.966, allocations: 51.25 kB / 1.283 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/1.966, allocations: 28.27 kB / 1.283 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/1.966, allocations: 0 / 1.283 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.009171/1.975, allocations: 3.391 MB / 1.287 GB, free: 297.5 MB / 0.8542 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