Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.000974, allocations: 99 kB / 15.05 MB, free: 1.105 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.001031/0.001031, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8002, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1539/0.9542, allocations: 130.9 MB / 1.149 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.9679, allocations: 9.054 MB / 1.158 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.9687, allocations: 11.94 kB / 1.158 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.9698, allocations: 326.5 kB / 1.158 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.9732, allocations: 1.042 MB / 1.159 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.9785, allocations: 1.627 MB / 1.16 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.9802, allocations: 0.8363 MB / 1.161 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.9808, allocations: 339.5 kB / 1.162 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.9838, allocations: 1.048 MB / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.9872, allocations: 1.971 MB / 1.165 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.9873, allocations: 27.94 kB / 1.165 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005899/0.9932, allocations: 2.712 MB / 1.167 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.9935, allocations: 123.5 kB / 1.167 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.9939, allocations: 153.4 kB / 1.167 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.9965, allocations: 1.539 MB / 1.169 GB, free: 9.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.9965, allocations: 4 kB / 1.169 GB, free: 9.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9965, allocations: 0 / 1.169 GB, free: 9.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.9965, allocations: 0 / 1.169 GB, free: 9.008 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002231/0.9988, allocations: 0.8849 MB / 1.17 GB, free: 8.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.9988, allocations: 8.031 kB / 1.17 GB, free: 8.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/1, allocations: 143.1 kB / 1.17 GB, free: 7.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/1.001, allocations: 409.8 kB / 1.17 GB, free: 7.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/1.001, allocations: 45.31 kB / 1.17 GB, free: 7.445 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/1.001, allocations: 52 kB / 1.17 GB, free: 7.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.002, allocations: 0.6643 MB / 1.171 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.002, allocations: 3.984 kB / 1.171 GB, free: 6.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/1.002, allocations: 31.95 kB / 1.171 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/1.002, allocations: 12 kB / 1.171 GB, free: 6.629 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.003, allocations: 499.5 kB / 1.172 GB, free: 6.145 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/1.007, allocations: 3.014 MB / 1.175 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/1.008, allocations: 275.9 kB / 1.175 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/1.027, allocations: 5.816 MB / 1.181 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.499e-05/1.027, allocations: 38.56 kB / 1.181 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 3.056e-06/1.027, allocations: 0 / 1.181 GB, free: 12.53 MB / 0.9356 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.08366/1.11, allocations: 30.43 MB / 1.21 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/1.11, allocations: 137 kB / 1.21 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/1.111, allocations: 369.5 kB / 1.211 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/1.111, allocations: 37.7 kB / 1.211 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/1.111, allocations: 292.2 kB / 1.211 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/1.111, allocations: 181.3 kB / 1.211 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/1.111, allocations: 12 kB / 1.211 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.112, allocations: 362.7 kB / 1.212 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.112, allocations: 241 kB / 1.212 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/1.113, allocations: 372.5 kB / 1.212 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/1.113, allocations: 276.7 kB / 1.212 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.113, allocations: 3.938 kB / 1.212 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002091/1.116, allocations: 0.8016 MB / 1.213 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.116, allocations: 8 kB / 1.213 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.116, allocations: 0 / 1.213 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/1.116, allocations: 129.6 kB / 1.213 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/1.117, allocations: 136 kB / 1.214 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/1.12, allocations: 3.09 MB / 1.217 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/1.121, allocations: 68 kB / 1.217 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/1.121, allocations: 24 kB / 1.217 GB, free: 7.207 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003221/1.121, allocations: 197.7 kB / 1.217 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/1.121, allocations: 51.38 kB / 1.217 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/1.123, allocations: 0.8022 MB / 1.218 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.123, allocations: 8.109 kB / 1.218 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.123, allocations: 4 kB / 1.218 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/1.123, allocations: 0 / 1.218 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03326/1.157, allocations: 10.57 MB / 1.228 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.157, allocations: 12.12 kB / 1.228 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/1.157, allocations: 107.8 kB / 1.228 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/1.157, allocations: 64.81 kB / 1.228 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/1.157, allocations: 16 kB / 1.228 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/1.159, allocations: 1.564 MB / 1.23 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.159, allocations: 11.94 kB / 1.23 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/1.161, allocations: 1.328 MB / 1.231 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/1.161, allocations: 136.8 kB / 1.231 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.162, allocations: 23.94 kB / 1.231 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/1.162, allocations: 55.94 kB / 1.231 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.162, allocations: 63.69 kB / 1.231 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/1.162, allocations: 31.98 kB / 1.231 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003924/1.163, allocations: 275.2 kB / 1.232 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/1.163, allocations: 0 / 1.232 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004746/1.167, allocations: 1.383 MB / 1.233 GB, free: 5.691 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008543/1.176, allocations: 0.766 MB / 1.234 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002056/1.178, allocations: 0.7726 MB / 1.234 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.178, allocations: 4 kB / 1.234 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/1.179, allocations: 364.1 kB / 1.235 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.18, allocations: 243.4 kB / 1.235 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/1.183, allocations: 1.523 MB / 1.236 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.183, allocations: 0.8902 MB / 1.237 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005896/1.184, allocations: 125.5 kB / 1.237 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.184, allocations: 59.41 kB / 1.238 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/1.184, allocations: 0 / 1.238 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of Templates: time 0.6638/1.848, allocations: 63.17 MB / 1.299 GB, free: 197.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches