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.008428/0.008428, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.002109/0.002109, allocations: 195 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.352/2.352, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 60.09 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.721, allocations: 140.4 MB / 0.9496 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2361/0.9572, allocations: 220.3 MB / 1.165 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.9759, allocations: 12.22 MB / 1.177 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.9789, allocations: 67.56 kB / 1.177 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.9815, allocations: 0.7108 MB / 1.177 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.9891, allocations: 2.696 MB / 1.18 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.9931, allocations: 1.29 MB / 1.181 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007268/1, allocations: 6.082 MB / 1.187 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/1.003, allocations: 1.493 MB / 1.189 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/1.009, allocations: 2.212 MB / 1.191 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003941/1.013, allocations: 1.592 MB / 1.192 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006429/1.014, allocations: 108 kB / 1.193 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005445/1.019, allocations: 2.47 MB / 1.195 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/1.02, allocations: 0.6308 MB / 1.196 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002367/1.023, allocations: 0.9639 MB / 1.197 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004245/1.027, allocations: 2.44 MB / 1.199 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.027, allocations: 0 / 1.199 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/1.027, allocations: 0 / 1.199 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001056/1.027, allocations: 0 / 1.199 GB, free: 2.086 MB / 0.9512 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.005385/1.033, allocations: 2.288 MB / 1.201 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.033, allocations: 8.031 kB / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/1.036, allocations: 0.4933 MB / 1.202 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/1.038, allocations: 1.266 MB / 1.203 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/1.038, allocations: 102.8 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/1.039, allocations: 156 kB / 1.203 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/1.042, allocations: 1.762 MB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/1.042, allocations: 7.875 kB / 1.205 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.042, allocations: 60 kB / 1.205 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/1.042, allocations: 50.55 kB / 1.205 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/1.044, allocations: 1.399 MB / 1.206 GB, free: 10.27 MB / 0.9669 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.009606/1.054, allocations: 7.305 MB / 1.213 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.056, allocations: 1.055 MB / 1.214 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000982/1.057, allocations: 0.6945 MB / 1.215 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/1.057, allocations: 106.2 kB / 1.215 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/1.057, allocations: 55.5 kB / 1.215 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001353/1.058, allocations: 302.6 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 4.378e-06/1.058, allocations: 0 / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of matching and sorting (n=112): time 0.008914/1.067, allocations: 4.422 MB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.067, allocations: 167.2 kB / 1.22 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.069, allocations: 1.27 MB / 1.221 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/1.069, allocations: 53.7 kB / 1.221 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/1.07, allocations: 0.693 MB / 1.222 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/1.07, allocations: 410.1 kB / 1.222 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/1.07, allocations: 263.5 kB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.071, allocations: 353.9 kB / 1.223 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/1.071, allocations: 0.5192 MB / 1.224 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.073, allocations: 0.8475 MB / 1.224 GB, free: 7.039 MB / 0.9825 GB 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) 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.084, allocations: 4.746 MB / 1.229 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/1.084, allocations: 4 kB / 1.229 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002865/1.087, allocations: 1.592 MB / 1.231 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.087, allocations: 12.88 kB / 1.231 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.087, allocations: 8 kB / 1.231 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/1.087, allocations: 16 kB / 1.231 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.088, allocations: 295.5 kB / 1.231 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/1.089, allocations: 15.94 kB / 1.231 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.09, allocations: 117.5 kB / 1.231 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.09, allocations: 63.98 kB / 1.231 GB, free: 12 kB / 0.9825 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008584/1.091, allocations: 426.6 kB / 1.231 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/1.092, allocations: 166 kB / 1.232 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/1.094, allocations: 1.275 MB / 1.233 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.094, allocations: 12 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.094, allocations: 4 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001758/1.096, allocations: 1.233 MB / 1.234 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/1.103, allocations: 3.746 MB / 1.238 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.103, allocations: 8 kB / 1.238 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.104, allocations: 239.7 kB / 1.238 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/1.104, allocations: 19.94 kB / 1.238 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/1.104, allocations: 43.92 kB / 1.238 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.574e-05/1.104, allocations: 19.88 kB / 1.238 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.104, allocations: 15.94 kB / 1.238 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.107, allocations: 2.102 MB / 1.24 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/1.108, allocations: 359 kB / 1.24 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/1.108, allocations: 39.94 kB / 1.241 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.109, allocations: 93.86 kB / 1.241 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.109, allocations: 104.2 kB / 1.241 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/1.11, allocations: 51.98 kB / 1.241 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001236/1.111, allocations: 0.8529 MB / 1.242 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.111, allocations: 0 / 1.242 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001618/1.112, allocations: 432 kB / 1.242 GB, free: 4.348 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005979/1.113, allocations: 240.4 kB / 1.242 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.115, allocations: 1.207 MB / 1.243 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.115, allocations: 0 / 1.243 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/1.116, allocations: 0.5487 MB / 1.244 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004404/1.12, allocations: 0.8937 MB / 1.245 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4725/1.593, allocations: 4.079 MB / 1.249 GB, free: 283 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.594, allocations: 1.375 MB / 1.25 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/1.595, allocations: 138.2 kB / 1.25 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.522e-06/1.595, allocations: 0 / 1.25 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04603/1.641, allocations: 25.1 MB / 1.275 GB, free: 271.6 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches