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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008782/0.008782, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001488/0.001488, allocations: 187 kB / 16.67 MB, free: 5.883 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.711/2.711, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.47 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3384, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.053/1.392, allocations: 222.6 MB / 1.305 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01701/1.409, allocations: 12.11 MB / 1.317 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/1.413, allocations: 76.47 kB / 1.317 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/1.416, allocations: 0.8554 MB / 1.318 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008553/1.424, allocations: 2.872 MB / 1.321 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004608/1.429, allocations: 1.433 MB / 1.322 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007603/1.437, allocations: 4.456 MB / 1.327 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/1.439, allocations: 1.714 MB / 1.328 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007747/1.447, allocations: 2.475 MB / 1.331 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005139/1.452, allocations: 1.545 MB / 1.332 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007745/1.453, allocations: 182.6 kB / 1.332 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007946/1.461, allocations: 2.167 MB / 1.335 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/1.463, allocations: 0.7006 MB / 1.335 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/1.465, allocations: 1.048 MB / 1.336 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009971/1.475, allocations: 3.331 MB / 1.339 GB, free: 1.535 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/1.475, allocations: 3.938 kB / 1.339 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.838e-06/1.475, allocations: 1.062 kB / 1.339 GB, free: 1.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001475/1.475, allocations: 0 / 1.339 GB, free: 1.531 MB / 1.014 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.01044/1.486, allocations: 2.277 MB / 1.342 GB, free: 468 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/1.486, allocations: 11.28 kB / 1.342 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/1.493, allocations: 0.5034 MB / 1.342 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/1.499, allocations: 1.329 MB / 1.344 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/1.499, allocations: 114.3 kB / 1.344 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/1.5, allocations: 155.3 kB / 1.344 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007132/1.507, allocations: 1.755 MB / 1.345 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.553e-05/1.508, allocations: 9.875 kB / 1.345 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/1.508, allocations: 57.34 kB / 1.346 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/1.508, allocations: 53.36 kB / 1.346 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004832/1.513, allocations: 1.403 MB / 1.347 GB, free: 14.22 MB / 1.029 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.01879/1.532, allocations: 7.282 MB / 1.354 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/1.535, allocations: 1.052 MB / 1.355 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.537, allocations: 0.6939 MB / 1.356 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/1.537, allocations: 118.1 kB / 1.356 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.341e-05/1.537, allocations: 50.39 kB / 1.356 GB, free: 8.184 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002603/1.54, allocations: 317.2 kB / 1.356 GB, free: 8.039 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 9.117e-06/1.54, allocations: 3.938 kB / 1.356 GB, free: 8.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.01653/1.556, allocations: 4.437 MB / 1.361 GB, free: 5.641 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/1.556, allocations: 173 kB / 1.361 GB, free: 5.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/1.56, allocations: 1.261 MB / 1.362 GB, free: 4.969 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003627/1.561, allocations: 49.45 kB / 1.362 GB, free: 4.922 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.562, allocations: 0.7081 MB / 1.363 GB, free: 4.367 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008434/1.563, allocations: 396.9 kB / 1.363 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007402/1.563, allocations: 259.9 kB / 1.363 GB, free: 3.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002223/1.564, allocations: 363 kB / 1.364 GB, free: 3.621 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/1.565, allocations: 0.5225 MB / 1.364 GB, free: 3.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/1.567, allocations: 0.8557 MB / 1.365 GB, free: 2.867 MB / 1.029 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.01994/1.587, allocations: 4.791 MB / 1.37 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/1.587, allocations: 6.5 kB / 1.37 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004629/1.592, allocations: 1.619 MB / 1.371 GB, free: 268 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.592, allocations: 8.438 kB / 1.371 GB, free: 268 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/1.592, allocations: 9.188 kB / 1.371 GB, free: 268 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.287e-05/1.592, allocations: 13.5 kB / 1.371 GB, free: 268 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.594, allocations: 295.2 kB / 1.372 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.882e-05/1.594, allocations: 19.67 kB / 1.372 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.597, allocations: 47.72 kB / 1.372 GB, free: 236 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/1.597, allocations: 60.39 kB / 1.372 GB, free: 224 kB / 1.029 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.001297/1.598, allocations: 441.9 kB / 1.372 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000715/1.599, allocations: 164.5 kB / 1.372 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/1.603, allocations: 1.288 MB / 1.374 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.603, allocations: 10.16 kB / 1.374 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.603, allocations: 3.375 kB / 1.374 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002787/1.606, allocations: 1.247 MB / 1.375 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.617, allocations: 3.777 MB / 1.378 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/1.617, allocations: 10.78 kB / 1.379 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.619, allocations: 242.6 kB / 1.379 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.758e-05/1.619, allocations: 13 kB / 1.379 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.619, allocations: 40.08 kB / 1.379 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-05/1.619, allocations: 18.16 kB / 1.379 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/1.619, allocations: 15.75 kB / 1.379 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/1.624, allocations: 2.137 MB / 1.381 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.625, allocations: 356.1 kB / 1.381 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.626, allocations: 38.7 kB / 1.381 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.628, allocations: 52.5 kB / 1.381 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.628, allocations: 96.84 kB / 1.381 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.628, allocations: 57.14 kB / 1.381 GB, free: 10.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001487/1.63, allocations: 0.85 MB / 1.382 GB, free: 9.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.63, allocations: 0 / 1.382 GB, free: 9.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002114/1.632, allocations: 432.8 kB / 1.383 GB, free: 9.891 MB / 1.045 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.0006678/1.632, allocations: 247.9 kB / 1.383 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002487/1.635, allocations: 1.256 MB / 1.384 GB, free: 9.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.635, allocations: 1.25 kB / 1.384 GB, free: 9.203 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008598/1.636, allocations: 0.5514 MB / 1.385 GB, free: 8.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005014/1.641, allocations: 0.9196 MB / 1.386 GB, free: 8.516 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/1.647, allocations: 3.398 MB / 1.389 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.648, allocations: 1.377 MB / 1.39 GB, free: 5.246 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001471/1.649, allocations: 383.3 kB / 1.391 GB, free: 5.078 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/1.65, allocations: 135.3 kB / 1.391 GB, free: 5.055 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/1.65, allocations: 3.938 kB / 1.391 GB, free: 5.051 MB / 1.045 GB Notification: Performance of Templates: time 0.05474/1.704, allocations: 30.64 MB / 1.421 GB, free: 7.992 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches