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.487/2.487, allocations: 390.5 MB / 398 MB, free: 10.95 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.001331/0.001331, allocations: 176.8 kB / 491.2 MB, free: 1.555 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.66/1.66, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008699/0.0008697, allocations: 97.56 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.087e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.474/6.793, allocations: 1.931 GB / 3.143 GB, free: 339.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/6.794, allocations: 91.33 kB / 3.143 GB, free: 339.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.487/11.28, allocations: 1.101 GB / 4.244 GB, free: 102.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/11.28, allocations: 0 / 4.244 GB, free: 102.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003161/11.28, allocations: 55.48 kB / 4.244 GB, free: 102.1 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.007336/11.29, allocations: 1.874 MB / 4.245 GB, free: 100.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/11.29, allocations: 12.03 kB / 4.245 GB, free: 100.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/11.29, allocations: 497.2 kB / 4.246 GB, free: 99.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/11.3, allocations: 1.56 MB / 4.247 GB, free: 98.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/11.3, allocations: 44 kB / 4.247 GB, free: 98.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006672/11.3, allocations: 95.95 kB / 4.248 GB, free: 97.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003036/11.3, allocations: 1.228 MB / 4.249 GB, free: 96.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/11.31, allocations: 1.491 MB / 4.25 GB, free: 95.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/11.31, allocations: 7.938 kB / 4.25 GB, free: 95.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/11.31, allocations: 4 kB / 4.25 GB, free: 95.13 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/11.31, allocations: 53.94 kB / 4.25 GB, free: 95.08 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.01072/11.32, allocations: 7.09 MB / 4.257 GB, free: 87.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/11.32, allocations: 0.991 MB / 4.258 GB, free: 86.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/11.32, allocations: 0.6408 MB / 4.259 GB, free: 85.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/11.32, allocations: 110.4 kB / 4.259 GB, free: 85.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/11.32, allocations: 55.81 kB / 4.259 GB, free: 85.71 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002431/11.32, allocations: 279.1 kB / 4.259 GB, free: 85.44 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 8.766e-06/11.32, allocations: 4 kB / 4.259 GB, free: 85.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.006636/11.33, allocations: 3.516 MB / 4.263 GB, free: 81.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/11.33, allocations: 167.5 kB / 4.263 GB, free: 81.66 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/11.33, allocations: 0.7908 MB / 4.264 GB, free: 80.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.235e-05/11.33, allocations: 29.64 kB / 4.264 GB, free: 80.82 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/11.33, allocations: 0.7224 MB / 4.264 GB, free: 80.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/11.33, allocations: 378.4 kB / 4.265 GB, free: 79.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/11.33, allocations: 4 kB / 4.265 GB, free: 79.71 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/11.33, allocations: 353.9 kB / 4.265 GB, free: 79.36 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/11.33, allocations: 470.5 kB / 4.266 GB, free: 78.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/11.33, allocations: 0.7786 MB / 4.266 GB, free: 77.98 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.01519/11.35, allocations: 3.913 MB / 4.27 GB, free: 74.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/11.35, allocations: 0 / 4.27 GB, free: 74.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002206/11.35, allocations: 1.393 MB / 4.271 GB, free: 72.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/11.35, allocations: 8 kB / 4.271 GB, free: 72.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/11.35, allocations: 8.875 kB / 4.271 GB, free: 72.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/11.35, allocations: 16 kB / 4.271 GB, free: 72.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/11.35, allocations: 283.5 kB / 4.272 GB, free: 72.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/11.35, allocations: 26.94 kB / 4.272 GB, free: 72.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/11.35, allocations: 87.61 kB / 4.272 GB, free: 72.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/11.35, allocations: 63.98 kB / 4.272 GB, free: 72.14 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.000299/11.35, allocations: 141.2 kB / 4.272 GB, free: 72 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/11.35, allocations: 134.4 kB / 4.272 GB, free: 71.87 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/11.36, allocations: 1.14 MB / 4.273 GB, free: 70.71 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/11.36, allocations: 12 kB / 4.273 GB, free: 70.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/11.36, allocations: 7.953 kB / 4.273 GB, free: 70.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/11.36, allocations: 1.131 MB / 4.274 GB, free: 69.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/11.36, allocations: 3.436 MB / 4.278 GB, free: 65.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/11.36, allocations: 8 kB / 4.278 GB, free: 65.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/11.36, allocations: 243.7 kB / 4.278 GB, free: 65.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.779e-05/11.36, allocations: 16 kB / 4.278 GB, free: 65.62 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.52e-05/11.36, allocations: 19.98 kB / 4.278 GB, free: 65.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/11.36, allocations: 31.81 kB / 4.278 GB, free: 65.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/11.36, allocations: 15.94 kB / 4.278 GB, free: 65.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/11.37, allocations: 2.513 MB / 4.281 GB, free: 62.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008967/11.37, allocations: 335.3 kB / 4.281 GB, free: 62.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/11.37, allocations: 16 kB / 4.281 GB, free: 62.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/11.37, allocations: 75.78 kB / 4.281 GB, free: 62.26 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/11.37, allocations: 100.5 kB / 4.281 GB, free: 62.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/11.37, allocations: 55.98 kB / 4.281 GB, free: 62.11 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001104/11.37, allocations: 0.5845 MB / 4.282 GB, free: 61.52 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.4e-07/11.37, allocations: 0 / 4.282 GB, free: 61.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003124/11.37, allocations: 0.5155 MB / 4.282 GB, free: 61 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.004488/11.38, allocations: 2.323 MB / 4.284 GB, free: 58.56 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00208/11.38, allocations: 1.09 MB / 4.286 GB, free: 57.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/11.38, allocations: 0 / 4.286 GB, free: 57.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/11.38, allocations: 0.4955 MB / 4.286 GB, free: 56.98 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/11.39, allocations: 0.71 MB / 4.287 GB, free: 56.28 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/11.39, allocations: 2.724 MB / 4.289 GB, free: 53.39 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/11.39, allocations: 1.402 MB / 4.291 GB, free: 51.96 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00191/11.4, allocations: 347.3 kB / 4.291 GB, free: 51.61 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/11.4, allocations: 115.4 kB / 4.291 GB, free: 51.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/11.4, allocations: 0 / 4.291 GB, free: 51.5 MB / 1.151 GB Notification: Performance of Templates: time 0.05784/11.45, allocations: 34.63 MB / 4.325 GB, free: 17.14 MB / 1.151 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