Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001885/0.001885, allocations: 104.2 kB / 18.99 MB, free: 2.602 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.001875/0.001875, allocations: 219.9 kB / 22.3 MB, free: 5.309 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.524/1.524, allocations: 230.7 MB / 256.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.422/3.422, allocations: 0.5107 GB / 0.8159 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002087/0.002087, allocations: 67.61 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4051, allocations: 181.9 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2802/0.6853, allocations: 197.4 MB / 1.557 GB, free: 7.316 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.7059, allocations: 11.36 MB / 1.568 GB, free: 11.93 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/0.7088, allocations: 99.19 kB / 1.568 GB, free: 11.83 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.7115, allocations: 0.8421 MB / 1.569 GB, free: 10.98 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008964/0.7205, allocations: 2.987 MB / 1.572 GB, free: 7.984 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.7249, allocations: 1.46 MB / 1.573 GB, free: 6.531 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007963/0.7329, allocations: 4.535 MB / 1.578 GB, free: 1.984 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.7354, allocations: 1.355 MB / 1.579 GB, free: 0.5898 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008549/0.744, allocations: 2.839 MB / 1.582 GB, free: 13.75 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.7482, allocations: 1.565 MB / 1.583 GB, free: 12.19 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.7486, allocations: 180 kB / 1.583 GB, free: 12.02 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005074/0.7537, allocations: 1.784 MB / 1.585 GB, free: 10.23 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.7548, allocations: 0.7282 MB / 1.586 GB, free: 9.496 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.7565, allocations: 0.8751 MB / 1.587 GB, free: 8.617 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.7631, allocations: 3.293 MB / 1.59 GB, free: 5.312 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.7631, allocations: 3.938 kB / 1.59 GB, free: 5.309 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7631, allocations: 0 / 1.59 GB, free: 5.309 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.987e-05/0.7632, allocations: 0 / 1.59 GB, free: 5.309 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.004181/0.7673, allocations: 2.253 MB / 1.592 GB, free: 3.016 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.7674, allocations: 8.031 kB / 1.592 GB, free: 3.008 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.7705, allocations: 0.5101 MB / 1.593 GB, free: 2.496 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.773, allocations: 1.262 MB / 1.594 GB, free: 1.18 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.7731, allocations: 114.8 kB / 1.594 GB, free: 1.066 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.7733, allocations: 152 kB / 1.594 GB, free: 0.918 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.7765, allocations: 2.153 MB / 1.596 GB, free: 14.56 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.7766, allocations: 3.938 kB / 1.596 GB, free: 14.55 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.7767, allocations: 60 kB / 1.596 GB, free: 14.5 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/0.7768, allocations: 58.53 kB / 1.596 GB, free: 14.44 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.7792, allocations: 1.415 MB / 1.598 GB, free: 13.02 MB / 1.295 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.008725/0.7879, allocations: 5.668 MB / 1.603 GB, free: 7.215 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.7897, allocations: 1.017 MB / 1.604 GB, free: 6.152 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.7907, allocations: 0.6715 MB / 1.605 GB, free: 5.465 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.7909, allocations: 28.98 kB / 1.605 GB, free: 5.438 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.791, allocations: 55.5 kB / 1.605 GB, free: 5.371 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001304/0.7923, allocations: 323.3 kB / 1.605 GB, free: 5.055 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.567e-06/0.7923, allocations: 0 / 1.605 GB, free: 5.055 MB / 1.295 GB Notification: Performance of matching and sorting (n=112): time 0.008557/0.8008, allocations: 4.37 MB / 1.61 GB, free: 0.6523 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8009, allocations: 171.2 kB / 1.61 GB, free: 460 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8406/1.641, allocations: 1.003 MB / 1.611 GB, free: 246.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/1.642, allocations: 53.58 kB / 1.611 GB, free: 246.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/1.642, allocations: 0.7345 MB / 1.611 GB, free: 246.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/1.643, allocations: 422.9 kB / 1.612 GB, free: 246.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/1.643, allocations: 249.2 kB / 1.612 GB, free: 246.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.643, allocations: 358.8 kB / 1.612 GB, free: 246.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.644, allocations: 0.5203 MB / 1.613 GB, free: 246.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/1.646, allocations: 1.016 MB / 1.614 GB, free: 245.7 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.01265/1.659, allocations: 4.495 MB / 1.618 GB, free: 244 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/1.659, allocations: 2.375 kB / 1.618 GB, free: 244 MB / 1.295 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003212/1.662, allocations: 1.565 MB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.662, allocations: 8.75 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/1.662, allocations: 9.219 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.662, allocations: 18.45 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.663, allocations: 279.4 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.933e-05/1.663, allocations: 21.06 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.665, allocations: 53.78 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.665, allocations: 58.8 kB / 1.62 GB, free: 243.4 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 (163): * Single equations (assignments): 163 * 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.0008279/1.665, allocations: 424.4 kB / 1.621 GB, free: 243.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/1.666, allocations: 150.1 kB / 1.621 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/1.668, allocations: 1.273 MB / 1.622 GB, free: 242.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.668, allocations: 14.11 kB / 1.622 GB, free: 242.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.668, allocations: 5.25 kB / 1.622 GB, free: 242.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/1.67, allocations: 1.244 MB / 1.623 GB, free: 241.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/1.676, allocations: 3.343 MB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.676, allocations: 10.38 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.677, allocations: 250.4 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/1.677, allocations: 14.84 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/1.677, allocations: 41.39 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/1.677, allocations: 20.45 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.677, allocations: 15.16 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/1.68, allocations: 2.11 MB / 1.629 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/1.681, allocations: 268.1 kB / 1.629 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.681, allocations: 36.38 kB / 1.629 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.682, allocations: 52.55 kB / 1.629 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.682, allocations: 103.7 kB / 1.629 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/1.682, allocations: 51.28 kB / 1.63 GB, free: 238.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009862/1.683, allocations: 0.6604 MB / 1.63 GB, free: 238.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.683, allocations: 0 / 1.63 GB, free: 238.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001501/1.684, allocations: 426 kB / 1.631 GB, free: 238.1 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.0003839/1.685, allocations: 216.3 kB / 1.631 GB, free: 238 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002174/1.687, allocations: 1.169 MB / 1.632 GB, free: 237.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.687, allocations: 2.719 kB / 1.632 GB, free: 237.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007687/1.688, allocations: 0.5296 MB / 1.632 GB, free: 237.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.691, allocations: 0.7847 MB / 1.633 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/1.697, allocations: 3.406 MB / 1.637 GB, free: 235.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.698, allocations: 0.7931 MB / 1.637 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001571/1.699, allocations: 352 kB / 1.638 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.7, allocations: 117.5 kB / 1.638 GB, free: 235.1 MB / 1.295 GB Notification: Performance of SimCode: time 8.32e-07/1.7, allocations: 3.938 kB / 1.638 GB, free: 235.1 MB / 1.295 GB Notification: Performance of Templates: time 0.04707/1.747, allocations: 27.69 MB / 1.665 GB, free: 220.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.67912313528359]