Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.092/2.092, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001045/0.001045, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.335/1.335, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.0008549/0.0008549, allocations: 111.1 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.385e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2199, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.149/4.368, allocations: 1.93 GB / 3.136 GB, free: 352 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/4.369, allocations: 82.95 kB / 3.136 GB, free: 352 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.163/7.532, allocations: 1.101 GB / 4.236 GB, free: 143.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.142e-06/7.532, allocations: 0 / 4.236 GB, free: 143.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001857/7.532, allocations: 57.64 kB / 4.236 GB, free: 143.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004752/7.537, allocations: 1.871 MB / 4.238 GB, free: 141.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/7.537, allocations: 16.02 kB / 4.238 GB, free: 141.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/7.541, allocations: 0.4931 MB / 4.239 GB, free: 141.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/7.545, allocations: 1.554 MB / 4.24 GB, free: 139.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/7.545, allocations: 48 kB / 4.24 GB, free: 139.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/7.545, allocations: 91.98 kB / 4.24 GB, free: 139.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00211/7.547, allocations: 1.224 MB / 4.242 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/7.55, allocations: 1.502 MB / 4.243 GB, free: 136.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/7.55, allocations: 7.938 kB / 4.243 GB, free: 136.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/7.55, allocations: 4 kB / 4.243 GB, free: 136.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/7.55, allocations: 46.55 kB / 4.243 GB, free: 136.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007286/7.557, allocations: 7.103 MB / 4.25 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/7.558, allocations: 0.9846 MB / 4.251 GB, free: 128.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/7.559, allocations: 0.6369 MB / 4.252 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/7.559, allocations: 117.5 kB / 4.252 GB, free: 127.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/7.559, allocations: 55.86 kB / 4.252 GB, free: 127.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001281/7.561, allocations: 278 kB / 4.252 GB, free: 127.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 5.481e-06/7.561, allocations: 0 / 4.252 GB, free: 127.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.006024/7.567, allocations: 3.514 MB / 4.256 GB, free: 123.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/7.567, allocations: 167.5 kB / 4.256 GB, free: 123.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009722/7.568, allocations: 0.791 MB / 4.256 GB, free: 122.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/7.568, allocations: 25.7 kB / 4.257 GB, free: 122.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/7.568, allocations: 0.7222 MB / 4.257 GB, free: 121.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/7.568, allocations: 386.2 kB / 4.258 GB, free: 121.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/7.568, allocations: 0 / 4.258 GB, free: 121.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/7.569, allocations: 361.9 kB / 4.258 GB, free: 121 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/7.569, allocations: 462.5 kB / 4.258 GB, free: 120.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/7.57, allocations: 0.7786 MB / 4.259 GB, free: 119.7 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/7.585, allocations: 3.911 MB / 4.263 GB, free: 115.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/7.585, allocations: 7.938 kB / 4.263 GB, free: 115.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002101/7.587, allocations: 1.39 MB / 4.264 GB, free: 114.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/7.587, allocations: 8 kB / 4.264 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/7.587, allocations: 8 kB / 4.264 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/7.587, allocations: 16 kB / 4.264 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/7.588, allocations: 287.5 kB / 4.265 GB, free: 114 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/7.588, allocations: 15.94 kB / 4.265 GB, free: 114 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/7.589, allocations: 83.83 kB / 4.265 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/7.59, allocations: 55.98 kB / 4.265 GB, free: 113.8 MB / 1.151 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000248/7.59, allocations: 149.2 kB / 4.265 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/7.59, allocations: 138.3 kB / 4.265 GB, free: 113.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/7.592, allocations: 1.143 MB / 4.266 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/7.592, allocations: 12 kB / 4.266 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/7.592, allocations: 4 kB / 4.266 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/7.593, allocations: 1.135 MB / 4.267 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/7.598, allocations: 3.44 MB / 4.271 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/7.598, allocations: 8 kB / 4.271 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/7.599, allocations: 247.6 kB / 4.271 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/7.599, allocations: 16.66 kB / 4.271 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/7.599, allocations: 24 kB / 4.271 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/7.599, allocations: 31.86 kB / 4.271 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/7.599, allocations: 15.94 kB / 4.271 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/7.601, allocations: 2.518 MB / 4.273 GB, free: 104.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/7.602, allocations: 335.2 kB / 4.274 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/7.602, allocations: 15.98 kB / 4.274 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/7.603, allocations: 71.73 kB / 4.274 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/7.603, allocations: 100.5 kB / 4.274 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/7.604, allocations: 55.98 kB / 4.274 GB, free: 103.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007015/7.604, allocations: 0.5806 MB / 4.275 GB, free: 103.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.604, allocations: 2.844 kB / 4.275 GB, free: 103.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001752/7.606, allocations: 0.5194 MB / 4.275 GB, free: 102.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002572/7.609, allocations: 2.325 MB / 4.277 GB, free: 100.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001488/7.61, allocations: 1.09 MB / 4.278 GB, free: 99.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/7.61, allocations: 8 kB / 4.278 GB, free: 99.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/7.611, allocations: 0.4885 MB / 4.279 GB, free: 98.92 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/7.614, allocations: 0.7008 MB / 4.28 GB, free: 98.23 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/7.618, allocations: 2.714 MB / 4.282 GB, free: 95.35 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/7.619, allocations: 1.402 MB / 4.284 GB, free: 93.91 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001362/7.62, allocations: 351.3 kB / 4.284 GB, free: 93.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/7.621, allocations: 123.2 kB / 4.284 GB, free: 93.45 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/7.621, allocations: 0 / 4.284 GB, free: 93.45 MB / 1.151 GB Notification: Performance of Templates: time 0.04548/7.666, allocations: 34.61 MB / 4.318 GB, free: 59.15 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches