Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 100.2 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.001418/0.001418, 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 8 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9847/0.9852, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.179/1.164, allocations: 131.1 MB / 1.149 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01123/1.175, allocations: 8.213 MB / 1.157 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000754/1.176, allocations: 15.94 kB / 1.157 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/1.177, allocations: 330.5 kB / 1.157 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/1.18, allocations: 0.744 MB / 1.158 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004915/1.185, allocations: 1.64 MB / 1.16 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001713/1.187, allocations: 0.8285 MB / 1.16 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/1.187, allocations: 339.5 kB / 1.161 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/1.189, allocations: 0.7828 MB / 1.161 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/1.19, allocations: 310.7 kB / 1.162 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/1.19, allocations: 32 kB / 1.162 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008624/1.199, allocations: 3.418 MB / 1.165 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/1.199, allocations: 119.5 kB / 1.165 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/1.199, allocations: 149.4 kB / 1.165 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/1.203, allocations: 1.777 MB / 1.167 GB, free: 10.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.203, allocations: 0 / 1.167 GB, free: 10.99 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.344e-06/1.203, allocations: 0 / 1.167 GB, free: 10.99 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.203, allocations: 0 / 1.167 GB, free: 10.99 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.002209/1.205, allocations: 0.9122 MB / 1.168 GB, free: 10.03 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.205, allocations: 11.98 kB / 1.168 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.206, allocations: 139.1 kB / 1.168 GB, free: 9.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/1.207, allocations: 405.9 kB / 1.168 GB, free: 9.449 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/1.207, allocations: 37.31 kB / 1.169 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/1.207, allocations: 55.91 kB / 1.169 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.208, allocations: 0.6643 MB / 1.169 GB, free: 8.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.208, allocations: 0 / 1.169 GB, free: 8.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/1.208, allocations: 28 kB / 1.169 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/1.208, allocations: 12 kB / 1.169 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/1.209, allocations: 487.5 kB / 1.17 GB, free: 8.129 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.01676/1.226, allocations: 6.518 MB / 1.176 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/1.227, allocations: 163.2 kB / 1.176 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/1.239, allocations: 3.857 MB / 1.18 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.667e-05/1.239, allocations: 46.73 kB / 1.18 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 2.294e-06/1.239, allocations: 0 / 1.18 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.07929/1.319, allocations: 29.15 MB / 1.209 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.319, allocations: 140.4 kB / 1.209 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/1.319, allocations: 453.8 kB / 1.209 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/1.32, allocations: 33.7 kB / 1.209 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/1.32, allocations: 315.4 kB / 1.209 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.32, allocations: 138 kB / 1.21 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/1.32, allocations: 16 kB / 1.21 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.32, allocations: 362.7 kB / 1.21 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/1.321, allocations: 181 kB / 1.21 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/1.321, allocations: 353.2 kB / 1.21 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/1.322, allocations: 228.1 kB / 1.211 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.322, allocations: 4 kB / 1.211 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00191/1.324, allocations: 0.6973 MB / 1.211 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.324, allocations: 7.953 kB / 1.211 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.324, allocations: 4 kB / 1.211 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/1.324, allocations: 129.9 kB / 1.211 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/1.325, allocations: 112 kB / 1.212 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/1.328, allocations: 3.082 MB / 1.215 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/1.329, allocations: 44.22 kB / 1.215 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.329, allocations: 27.98 kB / 1.215 GB, free: 9.254 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0003565/1.329, allocations: 193.6 kB / 1.215 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/1.33, allocations: 59.34 kB / 1.215 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/1.331, allocations: 0.6613 MB / 1.216 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.331, allocations: 4 kB / 1.216 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.331, allocations: 0 / 1.216 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.331, allocations: 3.984 kB / 1.216 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.333, allocations: 1.243 MB / 1.217 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.333, allocations: 4 kB / 1.217 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/1.334, allocations: 72.39 kB / 1.217 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/1.334, allocations: 64.81 kB / 1.217 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.334, allocations: 12 kB / 1.217 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.336, allocations: 1.588 MB / 1.218 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.336, allocations: 4 kB / 1.218 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.338, allocations: 0.9271 MB / 1.219 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/1.338, allocations: 152.4 kB / 1.22 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/1.338, allocations: 12 kB / 1.22 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/1.339, allocations: 31.89 kB / 1.22 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.339, allocations: 47.91 kB / 1.22 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/1.339, allocations: 12 kB / 1.22 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004466/1.339, allocations: 342.8 kB / 1.22 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/1.339, allocations: 0 / 1.22 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002031/1.341, allocations: 0.5662 MB / 1.22 GB, free: 2.809 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.00208/1.343, allocations: 0.5614 MB / 1.221 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001571/1.345, allocations: 0.6617 MB / 1.222 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.345, allocations: 0 / 1.222 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/1.345, allocations: 295.3 kB / 1.222 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.347, allocations: 256.2 kB / 1.222 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/1.349, allocations: 1.346 MB / 1.224 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/1.35, allocations: 0.8745 MB / 1.224 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005789/1.35, allocations: 118.4 kB / 1.224 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.35, allocations: 47.44 kB / 1.225 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of SimCode: time 8.01e-07/1.35, allocations: 0 / 1.225 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.03742/1.388, allocations: 22.04 MB / 1.246 GB, free: 8.734 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches