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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 99.86 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.001401/0.001401, allocations: 177.3 kB / 15.94 MB, free: 228 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.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 16 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7697/0.7701, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.208/0.9781, allocations: 183.3 MB / 1.132 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.9942, allocations: 11.24 MB / 1.143 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.9967, allocations: 59.62 kB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.9997, allocations: 0.8941 MB / 1.144 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008359/1.008, allocations: 2.639 MB / 1.147 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/1.013, allocations: 1.579 MB / 1.149 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004762/1.018, allocations: 2.568 MB / 1.151 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/1.02, allocations: 1.314 MB / 1.152 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003798/1.023, allocations: 1.667 MB / 1.154 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/1.025, allocations: 1.008 MB / 1.155 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003755/1.026, allocations: 80 kB / 1.155 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/1.029, allocations: 0.9594 MB / 1.156 GB, free: 388 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007659/1.029, allocations: 0.5375 MB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008348/1.03, allocations: 384.7 kB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003716/1.034, allocations: 2.147 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.034, allocations: 0 / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.626e-06/1.034, allocations: 0 / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.623e-05/1.034, allocations: 0 / 1.159 GB, free: 13.3 MB / 0.92 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.004049/1.038, allocations: 1.875 MB / 1.161 GB, free: 11.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.038, allocations: 12.02 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/1.041, allocations: 0.5011 MB / 1.161 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/1.043, allocations: 1.209 MB / 1.162 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/1.043, allocations: 118.6 kB / 1.163 GB, free: 9.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/1.044, allocations: 148 kB / 1.163 GB, free: 9.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/1.046, allocations: 1.733 MB / 1.164 GB, free: 7.488 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.046, allocations: 11.84 kB / 1.164 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.046, allocations: 60 kB / 1.164 GB, free: 7.418 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/1.046, allocations: 50.55 kB / 1.165 GB, free: 7.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/1.048, allocations: 1.388 MB / 1.166 GB, free: 5.973 MB / 0.92 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.008749/1.057, allocations: 7.32 MB / 1.173 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/1.059, allocations: 1.04 MB / 1.174 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/1.059, allocations: 25.14 kB / 1.174 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.059, allocations: 51.5 kB / 1.174 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/1.06, allocations: 302.5 kB / 1.174 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=106): time 3.527e-06/1.06, allocations: 4 kB / 1.174 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=112): time 0.007509/1.068, allocations: 4.425 MB / 1.179 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/1.068, allocations: 171.2 kB / 1.179 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.069, allocations: 1.251 MB / 1.18 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/1.069, allocations: 49.7 kB / 1.18 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/1.07, allocations: 0.7007 MB / 1.181 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/1.07, allocations: 402.2 kB / 1.181 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/1.07, allocations: 28 kB / 1.181 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.07, allocations: 353.9 kB / 1.182 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/1.071, allocations: 0.5153 MB / 1.182 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/1.072, allocations: 0.8362 MB / 1.183 GB, free: 3.828 MB / 0.9356 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.00886/1.081, allocations: 3.497 MB / 1.186 GB, free: 292 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.081, allocations: 4 kB / 1.186 GB, free: 288 kB / 0.9356 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002329/1.083, allocations: 1.596 MB / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.083, allocations: 11.94 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.083, allocations: 8.875 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.083, allocations: 16 kB / 1.188 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.084, allocations: 291.5 kB / 1.188 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/1.084, allocations: 19.92 kB / 1.188 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.086, allocations: 108.6 kB / 1.188 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.086, allocations: 59.97 kB / 1.188 GB, free: 14.17 MB / 0.9512 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.0008562/1.087, allocations: 427.1 kB / 1.189 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/1.087, allocations: 170 kB / 1.189 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/1.089, allocations: 1.275 MB / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.089, allocations: 12 kB / 1.19 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/1.089, allocations: 4 kB / 1.19 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/1.091, allocations: 1.221 MB / 1.191 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/1.096, allocations: 3.738 MB / 1.195 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.096, allocations: 11.94 kB / 1.195 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.097, allocations: 247.7 kB / 1.195 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.806e-05/1.097, allocations: 19.94 kB / 1.195 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/1.097, allocations: 36 kB / 1.195 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/1.097, allocations: 19.92 kB / 1.195 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.097, allocations: 19.88 kB / 1.195 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/1.1, allocations: 2.764 MB / 1.198 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/1.101, allocations: 355 kB / 1.198 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/1.101, allocations: 39.98 kB / 1.198 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.102, allocations: 96.91 kB / 1.199 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.103, allocations: 104.3 kB / 1.199 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/1.103, allocations: 55.94 kB / 1.199 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00104/1.104, allocations: 0.8373 MB / 1.2 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 1.2 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001379/1.105, allocations: 432 kB / 1.2 GB, free: 1.441 MB / 0.9512 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.0005327/1.106, allocations: 251.6 kB / 1.2 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.108, allocations: 1.21 MB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.108, allocations: 5.562 kB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007027/1.108, allocations: 0.5352 MB / 1.202 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/1.112, allocations: 0.8757 MB / 1.203 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/1.117, allocations: 4.035 MB / 1.207 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009543/1.118, allocations: 1.407 MB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001595/1.12, allocations: 381.2 kB / 1.208 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.12, allocations: 123.4 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of SimCode: time 8.81e-07/1.12, allocations: 8 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of Templates: time 0.04436/1.165, allocations: 27.73 MB / 1.236 GB, free: 13.07 MB / 0.9981 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