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.356/2.356, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001103/0.001103, allocations: 179.3 kB / 498.1 MB, free: 5.723 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.588/1.588, allocations: 223.2 MB / 0.7949 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009646, allocations: 99.83 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004269, allocations: 12.48 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/4.746, allocations: 1.931 GB / 3.153 GB, free: 82.28 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/4.746, allocations: 95.95 kB / 3.154 GB, free: 82.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.687/9.433, allocations: 1.113 GB / 4.267 GB, free: 256.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.693e-06/9.433, allocations: 3.312 kB / 4.267 GB, free: 256.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001531/9.433, allocations: 63.34 kB / 4.267 GB, free: 256.2 MB / 1.167 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.005873/9.439, allocations: 2.127 MB / 4.269 GB, free: 255.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/9.439, allocations: 14.91 kB / 4.269 GB, free: 255.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/9.442, allocations: 498.2 kB / 4.269 GB, free: 255.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/9.446, allocations: 1.58 MB / 4.271 GB, free: 254.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/9.447, allocations: 111.3 kB / 4.271 GB, free: 254.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/9.447, allocations: 155 kB / 4.271 GB, free: 254.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/9.45, allocations: 1.717 MB / 4.273 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/9.45, allocations: 7.125 kB / 4.273 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/9.45, allocations: 58.53 kB / 4.273 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/9.45, allocations: 54.39 kB / 4.273 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/9.452, allocations: 1.357 MB / 4.274 GB, free: 254.4 MB / 1.167 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.009281/9.461, allocations: 7.417 MB / 4.281 GB, free: 250.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/9.463, allocations: 1.048 MB / 4.282 GB, free: 250.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/9.463, allocations: 109.9 kB / 4.283 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/9.463, allocations: 54.97 kB / 4.283 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001554/9.465, allocations: 322.9 kB / 4.283 GB, free: 250.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 5.751e-06/9.465, allocations: 0 / 4.283 GB, free: 250.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.007462/9.472, allocations: 4.29 MB / 4.287 GB, free: 248.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/9.472, allocations: 176.6 kB / 4.287 GB, free: 248.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/9.474, allocations: 1.084 MB / 4.288 GB, free: 248.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/9.474, allocations: 52.7 kB / 4.288 GB, free: 248.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/9.475, allocations: 0.7019 MB / 4.289 GB, free: 248.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/9.475, allocations: 402.2 kB / 4.289 GB, free: 247.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/9.475, allocations: 29.84 kB / 4.29 GB, free: 247.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001155/9.475, allocations: 352.8 kB / 4.29 GB, free: 247.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/9.476, allocations: 0.5078 MB / 4.29 GB, free: 247.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/9.477, allocations: 0.84 MB / 4.291 GB, free: 247.2 MB / 1.167 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.009501/9.487, allocations: 3.465 MB / 4.295 GB, free: 246.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/9.487, allocations: 3.812 kB / 4.295 GB, free: 246.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00267/9.489, allocations: 1.577 MB / 4.296 GB, free: 246.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/9.489, allocations: 18.61 kB / 4.296 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/9.489, allocations: 10.44 kB / 4.296 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/9.489, allocations: 15.62 kB / 4.296 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/9.49, allocations: 287.3 kB / 4.296 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/9.491, allocations: 24.39 kB / 4.296 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/9.492, allocations: 112.3 kB / 4.297 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/9.493, allocations: 61.5 kB / 4.297 GB, free: 246.7 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.001043/9.494, allocations: 421.4 kB / 4.297 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/9.494, allocations: 161.8 kB / 4.297 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/9.496, allocations: 1.26 MB / 4.298 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/9.496, allocations: 11.72 kB / 4.298 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/9.496, allocations: 7.281 kB / 4.298 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/9.497, allocations: 1.205 MB / 4.3 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/9.503, allocations: 3.725 MB / 4.303 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/9.504, allocations: 7.5 kB / 4.303 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/9.505, allocations: 245.3 kB / 4.303 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/9.505, allocations: 21.59 kB / 4.303 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/9.505, allocations: 37.38 kB / 4.304 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/9.505, allocations: 26.19 kB / 4.304 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/9.505, allocations: 17.3 kB / 4.304 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/9.508, allocations: 2.751 MB / 4.306 GB, free: 242.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008561/9.508, allocations: 356.4 kB / 4.307 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/9.509, allocations: 36.02 kB / 4.307 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/9.51, allocations: 89.11 kB / 4.307 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/9.51, allocations: 107.8 kB / 4.307 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/9.51, allocations: 53.45 kB / 4.307 GB, free: 242.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001118/9.511, allocations: 0.8349 MB / 4.308 GB, free: 242 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/9.511, allocations: 0 / 4.308 GB, free: 242 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002495/9.514, allocations: 0.6226 MB / 4.308 GB, free: 241.8 MB / 1.167 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 () * Number of clocked 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.003337/9.517, allocations: 2.1 MB / 4.31 GB, free: 241.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002308/9.519, allocations: 1.199 MB / 4.311 GB, free: 240.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/9.519, allocations: 0 / 4.311 GB, free: 240.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/9.52, allocations: 0.5404 MB / 4.312 GB, free: 240.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/9.524, allocations: 0.8665 MB / 4.313 GB, free: 240.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/9.53, allocations: 4.012 MB / 4.317 GB, free: 238 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009949/9.531, allocations: 1.412 MB / 4.318 GB, free: 237.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001817/9.533, allocations: 377.6 kB / 4.319 GB, free: 237.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/9.533, allocations: 126.9 kB / 4.319 GB, free: 237.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.894e-06/9.533, allocations: 3.938 kB / 4.319 GB, free: 237.3 MB / 1.167 GB Notification: Performance of Templates: time 0.09017/9.624, allocations: 51.76 MB / 4.369 GB, free: 197.9 MB / 1.167 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