Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001401/0.001401, allocations: 190.8 kB / 0.4902 GB, free: 2.281 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.564/1.564, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.0009117/0.0009115, allocations: 103.4 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 6.781 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.448/4.783, allocations: 1.931 GB / 3.161 GB, free: 21.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/4.784, allocations: 92.27 kB / 3.161 GB, free: 21.68 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.927/9.711, allocations: 1.113 GB / 4.274 GB, free: 244 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/9.711, allocations: 2.969 kB / 4.274 GB, free: 244 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003361/9.712, allocations: 54.5 kB / 4.274 GB, free: 244 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.009464/9.721, allocations: 2.137 MB / 4.276 GB, free: 242.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/9.721, allocations: 11.78 kB / 4.276 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/9.726, allocations: 498.6 kB / 4.276 GB, free: 242.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/9.732, allocations: 1.589 MB / 4.278 GB, free: 241.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/9.732, allocations: 110.8 kB / 4.278 GB, free: 241 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/9.732, allocations: 151.3 kB / 4.278 GB, free: 240.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/9.735, allocations: 1.722 MB / 4.28 GB, free: 239 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/9.735, allocations: 3.938 kB / 4.28 GB, free: 239 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/9.735, allocations: 60 kB / 4.28 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/9.735, allocations: 54.48 kB / 4.28 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/9.738, allocations: 1.363 MB / 4.281 GB, free: 237.5 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.01108/9.749, allocations: 7.405 MB / 4.289 GB, free: 229.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/9.75, allocations: 1.042 MB / 4.29 GB, free: 228.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/9.751, allocations: 115.8 kB / 4.29 GB, free: 228.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/9.751, allocations: 51.52 kB / 4.29 GB, free: 228.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001805/9.753, allocations: 323.2 kB / 4.29 GB, free: 228.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 6.141e-06/9.753, allocations: 3.938 kB / 4.29 GB, free: 228.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.00866/9.761, allocations: 4.29 MB / 4.294 GB, free: 223.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/9.761, allocations: 167.2 kB / 4.294 GB, free: 223.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/9.763, allocations: 1.091 MB / 4.295 GB, free: 222.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/9.764, allocations: 53.7 kB / 4.296 GB, free: 222.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/9.764, allocations: 0.6997 MB / 4.296 GB, free: 221.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/9.765, allocations: 399.7 kB / 4.297 GB, free: 221.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/9.765, allocations: 32 kB / 4.297 GB, free: 221.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001574/9.765, allocations: 353.9 kB / 4.297 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/9.766, allocations: 0.5075 MB / 4.297 GB, free: 220.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009708/9.767, allocations: 0.8535 MB / 4.298 GB, free: 219.6 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.00938/9.776, allocations: 3.456 MB / 4.302 GB, free: 216.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/9.776, allocations: 7.953 kB / 4.302 GB, free: 216.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002616/9.779, allocations: 1.575 MB / 4.303 GB, free: 214.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/9.779, allocations: 8 kB / 4.303 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/9.779, allocations: 11.98 kB / 4.303 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/9.779, allocations: 16 kB / 4.303 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/9.78, allocations: 287.5 kB / 4.304 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/9.78, allocations: 19.11 kB / 4.304 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/9.782, allocations: 114.7 kB / 4.304 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/9.782, allocations: 63.11 kB / 4.304 GB, free: 214 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.001168/9.783, allocations: 429.2 kB / 4.304 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/9.783, allocations: 173.7 kB / 4.304 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/9.785, allocations: 1.259 MB / 4.306 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/9.785, allocations: 12 kB / 4.306 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/9.785, allocations: 3.594 kB / 4.306 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/9.787, allocations: 1.202 MB / 4.307 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/9.793, allocations: 3.72 MB / 4.31 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/9.793, allocations: 8 kB / 4.31 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/9.794, allocations: 243.7 kB / 4.311 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/9.794, allocations: 16 kB / 4.311 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/9.794, allocations: 47.73 kB / 4.311 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/9.794, allocations: 19.88 kB / 4.311 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/9.794, allocations: 15.94 kB / 4.311 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/9.797, allocations: 2.753 MB / 4.313 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/9.798, allocations: 355 kB / 4.314 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/9.798, allocations: 39.94 kB / 4.314 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/9.8, allocations: 93.23 kB / 4.314 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/9.8, allocations: 105.7 kB / 4.314 GB, free: 202.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/9.8, allocations: 51.98 kB / 4.314 GB, free: 202.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001147/9.801, allocations: 0.8373 MB / 4.315 GB, free: 201.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.31e-07/9.801, allocations: 0 / 4.315 GB, free: 201.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002639/9.804, allocations: 0.6171 MB / 4.315 GB, free: 201.3 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.003299/9.807, allocations: 2.093 MB / 4.317 GB, free: 199.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002035/9.809, allocations: 1.2 MB / 4.319 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/9.809, allocations: 7.719 kB / 4.319 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/9.81, allocations: 0.5287 MB / 4.319 GB, free: 197.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/9.814, allocations: 0.8748 MB / 4.32 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/9.819, allocations: 4.024 MB / 4.324 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/9.82, allocations: 1.403 MB / 4.325 GB, free: 191.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001678/9.822, allocations: 387.8 kB / 4.326 GB, free: 191 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/9.822, allocations: 123.4 kB / 4.326 GB, free: 190.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/9.822, allocations: 0 / 4.326 GB, free: 190.9 MB / 1.167 GB Notification: Performance of Templates: time 0.07466/9.897, allocations: 51.76 MB / 4.376 GB, free: 139.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches