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.302/2.302, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001048/0.001048, allocations: 180 kB / 492.3 MB, free: 0.6367 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.585/1.585, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009773/0.0009773, allocations: 89.61 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.171e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3048, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/5.902, allocations: 1.931 GB / 3.143 GB, free: 340.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/5.902, allocations: 91.75 kB / 3.143 GB, free: 340.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.528/9.431, allocations: 1.112 GB / 4.255 GB, free: 91.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/9.431, allocations: 4 kB / 4.255 GB, free: 91.55 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001258/9.431, allocations: 54.94 kB / 4.255 GB, free: 91.5 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.0039/9.435, allocations: 1.882 MB / 4.257 GB, free: 89.57 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/9.435, allocations: 12.03 kB / 4.257 GB, free: 89.56 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/9.438, allocations: 497.2 kB / 4.258 GB, free: 89.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/9.441, allocations: 1.556 MB / 4.259 GB, free: 87.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/9.441, allocations: 114.8 kB / 4.259 GB, free: 87.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/9.441, allocations: 155.9 kB / 4.259 GB, free: 87.19 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/9.444, allocations: 1.687 MB / 4.261 GB, free: 85.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/9.444, allocations: 3.938 kB / 4.261 GB, free: 85.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/9.444, allocations: 64 kB / 4.261 GB, free: 85.32 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/9.444, allocations: 54.53 kB / 4.261 GB, free: 85.27 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/9.446, allocations: 1.326 MB / 4.262 GB, free: 83.94 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.007864/9.454, allocations: 7.4 MB / 4.27 GB, free: 76.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/9.455, allocations: 1.033 MB / 4.271 GB, free: 75.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/9.456, allocations: 0.6751 MB / 4.271 GB, free: 74.37 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/9.456, allocations: 110.3 kB / 4.271 GB, free: 74.24 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/9.456, allocations: 59.5 kB / 4.271 GB, free: 74.17 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001382/9.457, allocations: 330.5 kB / 4.272 GB, free: 73.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 4.238e-06/9.457, allocations: 3.828 kB / 4.272 GB, free: 73.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.005337/9.463, allocations: 3.701 MB / 4.275 GB, free: 70.08 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/9.463, allocations: 163.2 kB / 4.276 GB, free: 69.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/9.464, allocations: 1.075 MB / 4.277 GB, free: 68.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/9.464, allocations: 53.7 kB / 4.277 GB, free: 68.74 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/9.465, allocations: 0.7007 MB / 4.277 GB, free: 68.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/9.465, allocations: 402.1 kB / 4.278 GB, free: 67.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/9.465, allocations: 32.12 kB / 4.278 GB, free: 67.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000114/9.465, allocations: 357.9 kB / 4.278 GB, free: 67.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/9.467, allocations: 0.492 MB / 4.279 GB, free: 66.76 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/9.468, allocations: 0.834 MB / 4.279 GB, free: 65.79 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.02477/9.493, allocations: 4.066 MB / 4.283 GB, free: 61.68 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/9.493, allocations: 0 / 4.283 GB, free: 61.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003622/9.496, allocations: 1.557 MB / 4.285 GB, free: 60.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/9.496, allocations: 8 kB / 4.285 GB, free: 60.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/9.496, allocations: 8 kB / 4.285 GB, free: 60.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/9.496, allocations: 19.95 kB / 4.285 GB, free: 60.08 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/9.498, allocations: 291.5 kB / 4.285 GB, free: 59.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-05/9.498, allocations: 19.94 kB / 4.285 GB, free: 59.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/9.501, allocations: 116 kB / 4.285 GB, free: 59.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/9.501, allocations: 59.92 kB / 4.285 GB, free: 59.6 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 (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.0003805/9.501, allocations: 192.6 kB / 4.286 GB, free: 59.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/9.502, allocations: 162 kB / 4.286 GB, free: 59.25 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/9.505, allocations: 1.24 MB / 4.287 GB, free: 58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/9.505, allocations: 25.3 kB / 4.287 GB, free: 57.97 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/9.505, allocations: 0 / 4.287 GB, free: 57.97 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002002/9.507, allocations: 1.19 MB / 4.288 GB, free: 56.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/9.515, allocations: 3.698 MB / 4.292 GB, free: 52.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/9.515, allocations: 15.98 kB / 4.292 GB, free: 52.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/9.517, allocations: 244.5 kB / 4.292 GB, free: 52.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.897e-05/9.517, allocations: 23.89 kB / 4.292 GB, free: 52.54 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/9.517, allocations: 43.98 kB / 4.292 GB, free: 52.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.047e-05/9.517, allocations: 19.94 kB / 4.292 GB, free: 52.48 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/9.517, allocations: 11.94 kB / 4.292 GB, free: 52.46 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/9.521, allocations: 2.729 MB / 4.295 GB, free: 49.16 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/9.522, allocations: 358.9 kB / 4.295 GB, free: 48.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/9.522, allocations: 35.98 kB / 4.295 GB, free: 48.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/9.524, allocations: 91.78 kB / 4.295 GB, free: 48.66 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/9.524, allocations: 100.5 kB / 4.295 GB, free: 48.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/9.525, allocations: 55.98 kB / 4.295 GB, free: 48.51 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001605/9.526, allocations: 0.8282 MB / 4.296 GB, free: 47.68 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.112e-06/9.526, allocations: 0 / 4.296 GB, free: 47.68 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003184/9.529, allocations: 0.621 MB / 4.297 GB, free: 47.06 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.003743/9.533, allocations: 2.091 MB / 4.299 GB, free: 44.85 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002869/9.536, allocations: 1.178 MB / 4.3 GB, free: 43.67 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/9.536, allocations: 0 / 4.3 GB, free: 43.67 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/9.537, allocations: 0.5296 MB / 4.301 GB, free: 43.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006416/9.544, allocations: 0.8754 MB / 4.301 GB, free: 42.28 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/9.55, allocations: 2.814 MB / 4.304 GB, free: 39.29 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/9.551, allocations: 1.403 MB / 4.305 GB, free: 37.86 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002364/9.553, allocations: 385.2 kB / 4.306 GB, free: 37.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/9.554, allocations: 131.4 kB / 4.306 GB, free: 37.35 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/9.554, allocations: 0 / 4.306 GB, free: 37.35 MB / 1.151 GB Notification: Performance of Templates: time 0.7774/10.33, allocations: 56.99 MB / 4.362 GB, free: 223.2 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