Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01055/0.01055, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.002265/0.002265, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.037/3.037, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.84 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3425, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.038/1.381, allocations: 223.1 MB / 1.439 GB, free: 5.82 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0227/1.404, allocations: 12.15 MB / 1.45 GB, free: 9.832 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/1.407, allocations: 75.56 kB / 1.451 GB, free: 9.758 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/1.411, allocations: 0.8928 MB / 1.451 GB, free: 8.859 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/1.421, allocations: 2.975 MB / 1.454 GB, free: 5.871 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004955/1.426, allocations: 1.437 MB / 1.456 GB, free: 4.441 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008863/1.435, allocations: 4.456 MB / 1.46 GB, free: 15.98 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003591/1.439, allocations: 1.46 MB / 1.461 GB, free: 14.48 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00818/1.447, allocations: 2.553 MB / 1.464 GB, free: 11.92 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/1.451, allocations: 1.562 MB / 1.466 GB, free: 10.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009159/1.452, allocations: 180 kB / 1.466 GB, free: 10.2 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00583/1.458, allocations: 2.175 MB / 1.468 GB, free: 8.023 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/1.459, allocations: 0.7204 MB / 1.469 GB, free: 7.301 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002483/1.461, allocations: 1.05 MB / 1.47 GB, free: 6.246 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007618/1.469, allocations: 3.34 MB / 1.473 GB, free: 2.895 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.469, allocations: 4 kB / 1.473 GB, free: 2.891 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/1.469, allocations: 4 kB / 1.473 GB, free: 2.887 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001222/1.469, allocations: 3.938 kB / 1.473 GB, free: 2.883 MB / 1.154 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.005574/1.475, allocations: 2.34 MB / 1.475 GB, free: 496 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.475, allocations: 12.03 kB / 1.475 GB, free: 484 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/1.478, allocations: 0.4984 MB / 1.476 GB, free: 15.97 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/1.482, allocations: 1.35 MB / 1.477 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.482, allocations: 114.7 kB / 1.477 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/1.482, allocations: 151.9 kB / 1.477 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/1.486, allocations: 1.756 MB / 1.479 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/1.486, allocations: 3.938 kB / 1.479 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/1.486, allocations: 67.97 kB / 1.479 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-05/1.486, allocations: 54.55 kB / 1.479 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/1.489, allocations: 1.399 MB / 1.48 GB, free: 10.91 MB / 1.17 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.01044/1.499, allocations: 7.307 MB / 1.488 GB, free: 3.223 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.501, allocations: 1.006 MB / 1.488 GB, free: 2.176 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/1.502, allocations: 0.6593 MB / 1.489 GB, free: 1.504 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/1.502, allocations: 110.2 kB / 1.489 GB, free: 1.379 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/1.502, allocations: 59.5 kB / 1.489 GB, free: 1.312 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/1.504, allocations: 310.9 kB / 1.49 GB, free: 1.008 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 7.685e-06/1.504, allocations: 4 kB / 1.49 GB, free: 1.004 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.01136/1.515, allocations: 4.536 MB / 1.494 GB, free: 12.4 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.515, allocations: 171.2 kB / 1.494 GB, free: 12.2 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/1.517, allocations: 1.263 MB / 1.495 GB, free: 10.93 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.518, allocations: 53.7 kB / 1.495 GB, free: 10.87 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/1.518, allocations: 0.7097 MB / 1.496 GB, free: 10.15 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/1.519, allocations: 420.4 kB / 1.497 GB, free: 9.738 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000471/1.519, allocations: 271.6 kB / 1.497 GB, free: 9.465 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.519, allocations: 357.9 kB / 1.497 GB, free: 9.109 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/1.52, allocations: 0.5309 MB / 1.498 GB, free: 8.578 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/1.521, allocations: 0.8518 MB / 1.499 GB, free: 7.602 MB / 1.186 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.01222/1.534, allocations: 4.8 MB / 1.503 GB, free: 2.641 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.534, allocations: 4 kB / 1.503 GB, free: 2.637 MB / 1.186 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002969/1.537, allocations: 1.624 MB / 1.505 GB, free: 1.004 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.537, allocations: 8 kB / 1.505 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.537, allocations: 10.36 kB / 1.505 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/1.537, allocations: 12 kB / 1.505 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.538, allocations: 295.5 kB / 1.505 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/1.538, allocations: 16 kB / 1.505 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.539, allocations: 61.52 kB / 1.505 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.539, allocations: 59.98 kB / 1.505 GB, free: 0.5547 MB / 1.186 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.0008275/1.54, allocations: 425.3 kB / 1.506 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/1.541, allocations: 171 kB / 1.506 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/1.543, allocations: 1.298 MB / 1.507 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.543, allocations: 12 kB / 1.507 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.543, allocations: 0 / 1.507 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/1.545, allocations: 1.241 MB / 1.508 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/1.552, allocations: 3.762 MB / 1.512 GB, free: 9.375 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.552, allocations: 11.94 kB / 1.512 GB, free: 9.363 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.553, allocations: 244.5 kB / 1.512 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.941e-05/1.553, allocations: 16 kB / 1.512 GB, free: 9.109 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.553, allocations: 51.92 kB / 1.512 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/1.553, allocations: 15.94 kB / 1.512 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/1.553, allocations: 15.94 kB / 1.512 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/1.556, allocations: 2.134 MB / 1.514 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/1.557, allocations: 363.9 kB / 1.515 GB, free: 6.363 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/1.557, allocations: 39.92 kB / 1.515 GB, free: 6.324 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.559, allocations: 51.94 kB / 1.515 GB, free: 6.277 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.559, allocations: 100.2 kB / 1.515 GB, free: 6.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.559, allocations: 55.98 kB / 1.515 GB, free: 6.125 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001384/1.56, allocations: 0.8529 MB / 1.516 GB, free: 5.273 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.56, allocations: 0 / 1.516 GB, free: 5.273 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001692/1.562, allocations: 435.9 kB / 1.516 GB, free: 4.848 MB / 1.201 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.0006145/1.563, allocations: 237.6 kB / 1.516 GB, free: 4.617 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002198/1.565, allocations: 1.184 MB / 1.518 GB, free: 3.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.565, allocations: 4.5 kB / 1.518 GB, free: 3.426 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/1.566, allocations: 0.5283 MB / 1.518 GB, free: 2.902 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004483/1.57, allocations: 0.9316 MB / 1.519 GB, free: 1.996 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006359/1.577, allocations: 3.465 MB / 1.522 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.578, allocations: 1.372 MB / 1.524 GB, free: 12.95 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001809/1.58, allocations: 389.3 kB / 1.524 GB, free: 12.57 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/1.58, allocations: 131.4 kB / 1.524 GB, free: 12.44 MB / 1.217 GB Notification: Performance of SimCode: time 1.322e-06/1.58, allocations: 0 / 1.524 GB, free: 12.44 MB / 1.217 GB Notification: Performance of Templates: time 0.05485/1.635, allocations: 30.8 MB / 1.554 GB, free: 14.04 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches