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.008396/0.008404, allocations: 99.59 kB / 15.73 MB, free: 6.035 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.00185/0.00185, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.596/2.596, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.3 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3559, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.066/1.422, allocations: 222.6 MB / 1.305 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01905/1.441, allocations: 12.11 MB / 1.317 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004222/1.446, allocations: 74.86 kB / 1.317 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/1.449, allocations: 0.8797 MB / 1.318 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.459, allocations: 2.976 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005014/1.464, allocations: 1.435 MB / 1.322 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009032/1.473, allocations: 4.473 MB / 1.327 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/1.476, allocations: 1.728 MB / 1.328 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007953/1.484, allocations: 2.561 MB / 1.331 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004969/1.489, allocations: 1.552 MB / 1.332 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009037/1.49, allocations: 180.2 kB / 1.333 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009166/1.499, allocations: 2.173 MB / 1.335 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001717/1.501, allocations: 0.7003 MB / 1.335 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002757/1.504, allocations: 1.052 MB / 1.336 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.515, allocations: 3.339 MB / 1.34 GB, free: 1.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/1.516, allocations: 10.2 kB / 1.34 GB, free: 1.426 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.587e-06/1.516, allocations: 0.9375 kB / 1.34 GB, free: 1.426 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000105/1.516, allocations: 3.938 kB / 1.34 GB, free: 1.422 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.00577/1.521, allocations: 2.339 MB / 1.342 GB, free: 216 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.522, allocations: 9.125 kB / 1.342 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/1.525, allocations: 0.5119 MB / 1.343 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/1.528, allocations: 1.341 MB / 1.344 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.528, allocations: 112.2 kB / 1.344 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/1.529, allocations: 154.3 kB / 1.344 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/1.532, allocations: 1.758 MB / 1.346 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/1.532, allocations: 8.781 kB / 1.346 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/1.532, allocations: 66.28 kB / 1.346 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-05/1.532, allocations: 54.12 kB / 1.346 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/1.534, allocations: 1.405 MB / 1.347 GB, free: 13.95 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.011/1.545, allocations: 7.285 MB / 1.354 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.547, allocations: 1.055 MB / 1.355 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/1.548, allocations: 0.696 MB / 1.356 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/1.549, allocations: 110.8 kB / 1.356 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/1.549, allocations: 58.97 kB / 1.356 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001598/1.55, allocations: 310 kB / 1.357 GB, free: 7.758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.917e-06/1.55, allocations: 3.938 kB / 1.357 GB, free: 7.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.009283/1.56, allocations: 4.537 MB / 1.361 GB, free: 5.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/1.56, allocations: 168.5 kB / 1.361 GB, free: 5.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/1.561, allocations: 1.259 MB / 1.362 GB, free: 4.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/1.562, allocations: 54.17 kB / 1.362 GB, free: 4.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/1.562, allocations: 0.71 MB / 1.363 GB, free: 3.992 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/1.563, allocations: 422.8 kB / 1.364 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/1.563, allocations: 264.1 kB / 1.364 GB, free: 3.551 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.563, allocations: 355.1 kB / 1.364 GB, free: 3.227 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/1.564, allocations: 0.5307 MB / 1.365 GB, free: 3.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.565, allocations: 0.8512 MB / 1.366 GB, free: 2.469 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.01199/1.577, allocations: 4.797 MB / 1.37 GB, free: 496 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.577, allocations: 6.562 kB / 1.37 GB, free: 492 kB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003511/1.581, allocations: 1.656 MB / 1.372 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.581, allocations: 10.25 kB / 1.372 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.581, allocations: 8.156 kB / 1.372 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/1.581, allocations: 12.84 kB / 1.372 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.582, allocations: 293.4 kB / 1.372 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.582, allocations: 19.84 kB / 1.372 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.584, allocations: 45.69 kB / 1.372 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.584, allocations: 61.67 kB / 1.372 GB, free: 15.93 MB / 1.045 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.0009157/1.585, allocations: 442.5 kB / 1.373 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.585, allocations: 175.4 kB / 1.373 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/1.587, allocations: 1.29 MB / 1.374 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.587, allocations: 12.91 kB / 1.374 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.587, allocations: 2.531 kB / 1.374 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/1.589, allocations: 1.25 MB / 1.375 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/1.595, allocations: 3.777 MB / 1.379 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.595, allocations: 11.06 kB / 1.379 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.596, allocations: 241.6 kB / 1.379 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/1.596, allocations: 15.28 kB / 1.379 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/1.597, allocations: 39.64 kB / 1.379 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/1.597, allocations: 20.88 kB / 1.379 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.597, allocations: 15.38 kB / 1.379 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/1.6, allocations: 2.13 MB / 1.381 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008109/1.6, allocations: 364.1 kB / 1.382 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.601, allocations: 39.67 kB / 1.382 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.602, allocations: 51.69 kB / 1.382 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.602, allocations: 102.2 kB / 1.382 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/1.602, allocations: 55.45 kB / 1.382 GB, free: 10.05 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001154/1.603, allocations: 0.8493 MB / 1.383 GB, free: 9.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.1e-07/1.603, allocations: 0 / 1.383 GB, free: 9.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001496/1.605, allocations: 435.3 kB / 1.383 GB, free: 9.547 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.0006052/1.605, allocations: 250.1 kB / 1.384 GB, free: 9.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002392/1.608, allocations: 1.242 MB / 1.385 GB, free: 8.871 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.608, allocations: 2.406 kB / 1.385 GB, free: 8.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007841/1.608, allocations: 0.5545 MB / 1.385 GB, free: 8.656 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.613, allocations: 0.9301 MB / 1.386 GB, free: 8.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006122/1.619, allocations: 3.45 MB / 1.39 GB, free: 5.852 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.62, allocations: 1.374 MB / 1.391 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001924/1.622, allocations: 386.3 kB / 1.391 GB, free: 4.676 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/1.623, allocations: 135 kB / 1.391 GB, free: 4.652 MB / 1.045 GB Notification: Performance of SimCode: time 1.984e-06/1.623, allocations: 3.938 kB / 1.391 GB, free: 4.648 MB / 1.045 GB Notification: Performance of Templates: time 0.05553/1.678, allocations: 30.63 MB / 1.421 GB, free: 7.5 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