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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009738/0.0009739, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6091, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.185/0.7942, allocations: 183.3 MB / 1.2 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.8092, allocations: 11.24 MB / 1.211 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.8109, allocations: 59.56 kB / 1.211 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.8134, allocations: 0.8981 MB / 1.212 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.821, allocations: 2.625 MB / 1.214 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.8256, allocations: 1.577 MB / 1.216 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.8301, allocations: 2.572 MB / 1.218 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.832, allocations: 1.317 MB / 1.22 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.8356, allocations: 1.663 MB / 1.221 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.8372, allocations: 1.004 MB / 1.222 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.8374, allocations: 84 kB / 1.222 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.84, allocations: 0.9594 MB / 1.223 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.8405, allocations: 0.5375 MB / 1.224 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.841, allocations: 388.7 kB / 1.224 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.8434, allocations: 2.143 MB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.8434, allocations: 0 / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.566e-06/0.8434, allocations: 0 / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.071e-05/0.8435, allocations: 3.938 kB / 1.226 GB, free: 14.24 MB / 0.9825 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.003154/0.8466, allocations: 1.883 MB / 1.228 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8467, allocations: 11.98 kB / 1.228 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.8496, allocations: 0.5089 MB / 1.229 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.8519, allocations: 1.205 MB / 1.23 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.852, allocations: 106.8 kB / 1.23 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.8522, allocations: 155.9 kB / 1.23 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.8548, allocations: 1.737 MB / 1.232 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.8548, allocations: 7.938 kB / 1.232 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.8549, allocations: 60 kB / 1.232 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.855, allocations: 54.48 kB / 1.232 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.8572, allocations: 1.392 MB / 1.233 GB, free: 6.891 MB / 0.9825 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.008736/0.866, allocations: 7.32 MB / 1.24 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.8676, allocations: 1.036 MB / 1.241 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.277e-05/0.8677, allocations: 25.12 kB / 1.241 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.8677, allocations: 47.56 kB / 1.241 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001161/0.8689, allocations: 314.4 kB / 1.242 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 3.838e-06/0.8689, allocations: 0 / 1.242 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.007949/0.8769, allocations: 4.409 MB / 1.246 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.877, allocations: 175.3 kB / 1.246 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.8784, allocations: 1.247 MB / 1.247 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.8785, allocations: 49.7 kB / 1.247 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.879, allocations: 0.7046 MB / 1.248 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.8794, allocations: 394.2 kB / 1.249 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.8795, allocations: 32 kB / 1.249 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8796, allocations: 361.9 kB / 1.249 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.8805, allocations: 0.5153 MB / 1.249 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8815, allocations: 0.8322 MB / 1.25 GB, free: 4.75 MB / 0.9981 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.009901/0.8915, allocations: 3.499 MB / 1.254 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.8915, allocations: 4 kB / 1.254 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.5113/1.403, allocations: 1.585 MB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.403, allocations: 7.562 kB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/1.403, allocations: 13.17 kB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.541e-05/1.403, allocations: 16.47 kB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.404, allocations: 290.8 kB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/1.404, allocations: 20.44 kB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.406, allocations: 108.2 kB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.406, allocations: 59.97 kB / 1.256 GB, free: 229.8 MB / 0.9981 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.000925/1.407, allocations: 427 kB / 1.256 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/1.408, allocations: 162.5 kB / 1.256 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/1.41, allocations: 1.274 MB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.41, allocations: 12.41 kB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.41, allocations: 1.719 kB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/1.412, allocations: 1.229 MB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/1.418, allocations: 3.749 MB / 1.262 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/1.418, allocations: 14.58 kB / 1.262 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.42, allocations: 243 kB / 1.263 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.012e-05/1.42, allocations: 16 kB / 1.263 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/1.42, allocations: 37.98 kB / 1.263 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.912e-05/1.42, allocations: 20.89 kB / 1.263 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-05/1.42, allocations: 19.56 kB / 1.263 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/1.424, allocations: 2.772 MB / 1.265 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009522/1.425, allocations: 360.1 kB / 1.266 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/1.425, allocations: 37.61 kB / 1.266 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.427, allocations: 99.66 kB / 1.266 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.427, allocations: 99.27 kB / 1.266 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.427, allocations: 51 kB / 1.266 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00167/1.429, allocations: 0.8413 MB / 1.267 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.429, allocations: 0 / 1.267 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001936/1.43, allocations: 430.7 kB / 1.267 GB, free: 224.1 MB / 0.9981 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.0005533/1.431, allocations: 235.9 kB / 1.267 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.433, allocations: 1.203 MB / 1.269 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.433, allocations: 7.031 kB / 1.269 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008735/1.434, allocations: 0.5397 MB / 1.269 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.439, allocations: 0.8743 MB / 1.27 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/1.444, allocations: 4.042 MB / 1.274 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.446, allocations: 1.408 MB / 1.275 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002309/1.448, allocations: 380.3 kB / 1.276 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/1.448, allocations: 124.2 kB / 1.276 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/1.449, allocations: 0 / 1.276 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04153/1.49, allocations: 27.74 MB / 1.303 GB, free: 200.5 MB / 0.9981 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