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.325/2.325, allocations: 390.3 MB / 402.9 MB, free: 6.676 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.001614/0.001614, allocations: 168.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001/0.001, allocations: 95.61 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.879e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3178, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.433/6.75, allocations: 1.931 GB / 3.15 GB, free: 327.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/6.751, allocations: 97.92 kB / 3.15 GB, free: 327.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.52/11.27, allocations: 1.112 GB / 4.262 GB, free: 101.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.3e-06/11.27, allocations: 0 / 4.262 GB, free: 101.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004155/11.27, allocations: 55.92 kB / 4.262 GB, free: 101 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.008813/11.28, allocations: 1.881 MB / 4.264 GB, free: 99.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.336e-05/11.28, allocations: 8.031 kB / 4.264 GB, free: 99.11 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/11.29, allocations: 0.4933 MB / 4.265 GB, free: 98.61 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/11.29, allocations: 1.564 MB / 4.266 GB, free: 97 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/11.29, allocations: 114.7 kB / 4.266 GB, free: 96.88 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/11.29, allocations: 148 kB / 4.267 GB, free: 96.74 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/11.3, allocations: 1.695 MB / 4.268 GB, free: 94.93 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/11.3, allocations: 7.844 kB / 4.268 GB, free: 94.92 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/11.3, allocations: 60 kB / 4.268 GB, free: 94.86 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-05/11.3, allocations: 54.48 kB / 4.268 GB, free: 94.81 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/11.3, allocations: 1.326 MB / 4.27 GB, free: 93.48 MB / 1.167 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.01286/11.31, allocations: 7.417 MB / 4.277 GB, free: 85.66 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/11.31, allocations: 1.02 MB / 4.278 GB, free: 84.59 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009593/11.31, allocations: 0.6712 MB / 4.279 GB, free: 83.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/11.31, allocations: 114.3 kB / 4.279 GB, free: 83.77 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.191e-05/11.31, allocations: 59.48 kB / 4.279 GB, free: 83.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002006/11.32, allocations: 326.5 kB / 4.279 GB, free: 83.38 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 1.362e-05/11.32, allocations: 0 / 4.279 GB, free: 83.38 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.00753/11.32, allocations: 3.701 MB / 4.283 GB, free: 79.61 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/11.32, allocations: 171.2 kB / 4.283 GB, free: 79.41 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/11.33, allocations: 1.075 MB / 4.284 GB, free: 78.33 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/11.33, allocations: 53.7 kB / 4.284 GB, free: 78.27 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/11.33, allocations: 0.693 MB / 4.285 GB, free: 77.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/11.33, allocations: 406.1 kB / 4.285 GB, free: 77.17 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/11.33, allocations: 28 kB / 4.285 GB, free: 77.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001703/11.33, allocations: 358 kB / 4.285 GB, free: 76.79 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/11.33, allocations: 0.4921 MB / 4.286 GB, free: 76.29 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/11.33, allocations: 0.8368 MB / 4.287 GB, free: 75.32 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.01549/11.34, allocations: 4.047 MB / 4.291 GB, free: 71.23 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/11.34, allocations: 0 / 4.291 GB, free: 71.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002486/11.35, allocations: 1.562 MB / 4.292 GB, free: 69.66 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/11.35, allocations: 8 kB / 4.292 GB, free: 69.65 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/11.35, allocations: 11.95 kB / 4.292 GB, free: 69.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/11.35, allocations: 16 kB / 4.292 GB, free: 69.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/11.35, allocations: 287.5 kB / 4.292 GB, free: 69.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/11.35, allocations: 23.92 kB / 4.292 GB, free: 69.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/11.35, allocations: 115.7 kB / 4.293 GB, free: 69.21 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/11.35, allocations: 63.97 kB / 4.293 GB, free: 69.14 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 () * 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.0003961/11.35, allocations: 197.8 kB / 4.293 GB, free: 68.95 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/11.35, allocations: 162 kB / 4.293 GB, free: 68.79 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/11.35, allocations: 1.236 MB / 4.294 GB, free: 67.54 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/11.35, allocations: 12 kB / 4.294 GB, free: 67.52 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/11.35, allocations: 4 kB / 4.294 GB, free: 67.52 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/11.36, allocations: 1.19 MB / 4.295 GB, free: 66.26 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/11.36, allocations: 3.71 MB / 4.299 GB, free: 62.35 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/11.36, allocations: 15.95 kB / 4.299 GB, free: 62.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/11.36, allocations: 247.7 kB / 4.299 GB, free: 62.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/11.36, allocations: 16.69 kB / 4.299 GB, free: 62.08 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/11.36, allocations: 36 kB / 4.299 GB, free: 62.04 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/11.36, allocations: 27.92 kB / 4.299 GB, free: 62.02 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/11.36, allocations: 15.88 kB / 4.299 GB, free: 62 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/11.37, allocations: 2.725 MB / 4.302 GB, free: 58.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/11.37, allocations: 362.9 kB / 4.302 GB, free: 58.32 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/11.37, allocations: 32 kB / 4.302 GB, free: 58.29 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/11.37, allocations: 91.78 kB / 4.302 GB, free: 58.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/11.37, allocations: 100.5 kB / 4.302 GB, free: 58.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/11.37, allocations: 55.98 kB / 4.303 GB, free: 58.05 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001114/11.37, allocations: 0.8282 MB / 4.303 GB, free: 57.22 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.473e-06/11.37, allocations: 112 / 4.303 GB, free: 57.22 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002713/11.37, allocations: 0.6171 MB / 4.304 GB, free: 56.6 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 () * 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.002921/11.37, allocations: 2.095 MB / 4.306 GB, free: 54.39 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001803/11.38, allocations: 1.174 MB / 4.307 GB, free: 53.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/11.38, allocations: 4 kB / 4.307 GB, free: 53.21 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006213/11.38, allocations: 0.5337 MB / 4.308 GB, free: 52.68 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/11.38, allocations: 0.8698 MB / 4.309 GB, free: 51.82 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/11.39, allocations: 2.814 MB / 4.311 GB, free: 48.84 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/11.39, allocations: 1.407 MB / 4.313 GB, free: 47.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001428/11.39, allocations: 381.2 kB / 4.313 GB, free: 47.02 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/11.39, allocations: 127.4 kB / 4.313 GB, free: 46.89 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/11.39, allocations: 0 / 4.313 GB, free: 46.89 MB / 1.167 GB Notification: Performance of Templates: time 0.9062/12.29, allocations: 56.99 MB / 4.369 GB, free: 214.8 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