Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 213.7 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.105/3.105, allocations: 0.4899 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 73.5 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2731/0.6413, allocations: 227.1 MB / 1.548 GB, free: 13.49 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.6628, allocations: 12.23 MB / 1.56 GB, free: 1.234 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/0.6665, allocations: 99.19 kB / 1.56 GB, free: 1.137 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.6698, allocations: 0.8889 MB / 1.561 GB, free: 248 kB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00928/0.6791, allocations: 3.022 MB / 1.564 GB, free: 13.21 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.6839, allocations: 1.514 MB / 1.566 GB, free: 11.7 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008275/0.6922, allocations: 4.584 MB / 1.57 GB, free: 7.102 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.6952, allocations: 1.363 MB / 1.571 GB, free: 5.695 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008552/0.7038, allocations: 2.864 MB / 1.574 GB, free: 2.828 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.708, allocations: 1.641 MB / 1.576 GB, free: 1.199 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.7085, allocations: 180 kB / 1.576 GB, free: 1.023 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005532/0.7141, allocations: 2.323 MB / 1.578 GB, free: 14.7 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.7152, allocations: 0.7321 MB / 1.579 GB, free: 13.96 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.7171, allocations: 1.05 MB / 1.58 GB, free: 12.91 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.007077/0.7241, allocations: 3.344 MB / 1.583 GB, free: 9.551 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.7241, allocations: 3.938 kB / 1.583 GB, free: 9.547 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7241, allocations: 0 / 1.583 GB, free: 9.547 MB / 1.279 GB Notification: Performance of Transformations before backend: time 6.412e-05/0.7242, allocations: 0 / 1.583 GB, free: 9.547 MB / 1.279 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.004766/0.729, allocations: 2.262 MB / 1.585 GB, free: 7.246 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.729, allocations: 8.031 kB / 1.585 GB, free: 7.238 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.7323, allocations: 0.5022 MB / 1.586 GB, free: 6.734 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.7354, allocations: 1.262 MB / 1.587 GB, free: 5.418 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.7355, allocations: 110.8 kB / 1.587 GB, free: 5.309 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.7358, allocations: 152 kB / 1.587 GB, free: 5.16 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.7389, allocations: 1.776 MB / 1.589 GB, free: 3.273 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.7389, allocations: 15.89 kB / 1.589 GB, free: 3.258 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.739, allocations: 60 kB / 1.589 GB, free: 3.199 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/0.7391, allocations: 50.55 kB / 1.589 GB, free: 3.148 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.7415, allocations: 1.427 MB / 1.591 GB, free: 1.715 MB / 1.279 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.01138/0.7529, allocations: 7.484 MB / 1.598 GB, free: 9.805 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.7548, allocations: 1.016 MB / 1.599 GB, free: 8.742 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.7559, allocations: 0.6676 MB / 1.6 GB, free: 8.059 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.7561, allocations: 37.12 kB / 1.6 GB, free: 8.023 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.7561, allocations: 51.56 kB / 1.6 GB, free: 7.965 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001647/0.7578, allocations: 346.9 kB / 1.6 GB, free: 7.625 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 7.514e-06/0.7578, allocations: 0 / 1.6 GB, free: 7.625 MB / 1.295 GB Notification: Performance of matching and sorting (n=112): time 0.0104/0.7682, allocations: 4.39 MB / 1.604 GB, free: 3.199 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.7683, allocations: 175.2 kB / 1.604 GB, free: 2.992 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.7702, allocations: 1.259 MB / 1.606 GB, free: 1.723 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.7704, allocations: 53.7 kB / 1.606 GB, free: 1.664 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.771, allocations: 0.7098 MB / 1.606 GB, free: 0.9492 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004489/0.7715, allocations: 420.4 kB / 1.607 GB, free: 0.5352 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.7719, allocations: 263.5 kB / 1.607 GB, free: 276 kB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.6879/1.46, allocations: 358 kB / 1.607 GB, free: 280.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.461, allocations: 0.524 MB / 1.608 GB, free: 280.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.462, allocations: 0.8535 MB / 1.609 GB, free: 279.9 MB / 1.295 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.01091/1.473, allocations: 4.575 MB / 1.613 GB, free: 278.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.473, allocations: 6.5 kB / 1.613 GB, free: 278.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002384/1.475, allocations: 1.623 MB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.475, allocations: 6.312 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.475, allocations: 8.188 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/1.475, allocations: 20.61 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.476, allocations: 287.1 kB / 1.615 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.476, allocations: 21.62 kB / 1.615 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.478, allocations: 48.83 kB / 1.615 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/1.478, allocations: 61.91 kB / 1.615 GB, free: 278.2 MB / 1.295 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.0005982/1.478, allocations: 435.2 kB / 1.616 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/1.478, allocations: 169.4 kB / 1.616 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/1.48, allocations: 1.291 MB / 1.617 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.48, allocations: 16.17 kB / 1.617 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.48, allocations: 8.328 kB / 1.617 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001642/1.482, allocations: 1.243 MB / 1.618 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005905/1.488, allocations: 3.724 MB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/1.488, allocations: 9.594 kB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.489, allocations: 246.1 kB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/1.489, allocations: 23.2 kB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/1.489, allocations: 36.39 kB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/1.489, allocations: 21.36 kB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.489, allocations: 19.34 kB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/1.491, allocations: 2.127 MB / 1.624 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005975/1.492, allocations: 289.1 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.492, allocations: 41.23 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/1.493, allocations: 43.86 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.493, allocations: 108.8 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/1.493, allocations: 53.55 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001036/1.494, allocations: 0.853 MB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.494, allocations: 7.562 kB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001187/1.496, allocations: 434.8 kB / 1.626 GB, free: 273 MB / 1.295 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.0002964/1.496, allocations: 221.6 kB / 1.626 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.498, allocations: 1.182 MB / 1.627 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.498, allocations: 4.438 kB / 1.627 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/1.498, allocations: 0.5331 MB / 1.628 GB, free: 272.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.502, allocations: 0.9175 MB / 1.629 GB, free: 272.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/1.506, allocations: 3.463 MB / 1.632 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/1.507, allocations: 1.376 MB / 1.634 GB, free: 269.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001074/1.508, allocations: 387.8 kB / 1.634 GB, free: 269.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.508, allocations: 128.8 kB / 1.634 GB, free: 269.2 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/1.508, allocations: 0 / 1.634 GB, free: 269.2 MB / 1.295 GB Notification: Performance of Templates: time 0.04354/1.552, allocations: 31.48 MB / 1.665 GB, free: 246.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.495422451756895]