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.001946/0.001946, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002331/0.002331, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.613/1.613, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.38/3.38, allocations: 0.4899 GB / 0.7915 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.002402/0.002402, allocations: 80.31 kB / 1.149 GB, free: 25.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3601, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2607/0.6208, allocations: 226.5 MB / 1.542 GB, free: 15.41 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.6403, allocations: 12.18 MB / 1.554 GB, free: 3.215 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.6429, allocations: 99.19 kB / 1.554 GB, free: 3.117 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.6454, allocations: 0.8811 MB / 1.555 GB, free: 2.23 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008275/0.6537, allocations: 2.976 MB / 1.558 GB, free: 15.24 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.6577, allocations: 1.444 MB / 1.56 GB, free: 13.8 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007283/0.665, allocations: 4.447 MB / 1.564 GB, free: 9.34 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/0.668, allocations: 1.471 MB / 1.565 GB, free: 7.832 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007853/0.6758, allocations: 2.838 MB / 1.568 GB, free: 4.988 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.6796, allocations: 1.637 MB / 1.57 GB, free: 3.367 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004922/0.6801, allocations: 184 kB / 1.57 GB, free: 3.188 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.6855, allocations: 2.28 MB / 1.572 GB, free: 0.9023 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009619/0.6865, allocations: 0.7282 MB / 1.573 GB, free: 176 kB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.6882, allocations: 1.058 MB / 1.574 GB, free: 15.11 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006586/0.6948, allocations: 3.344 MB / 1.577 GB, free: 11.75 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6948, allocations: 0 / 1.577 GB, free: 11.75 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6948, allocations: 0 / 1.577 GB, free: 11.75 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.747e-05/0.6949, allocations: 0 / 1.577 GB, free: 11.75 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.005085/0.7, allocations: 2.328 MB / 1.579 GB, free: 9.367 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.7, allocations: 15.92 kB / 1.58 GB, free: 9.352 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.7033, allocations: 0.5061 MB / 1.58 GB, free: 8.844 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.7058, allocations: 1.354 MB / 1.581 GB, free: 7.434 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.7059, allocations: 106.8 kB / 1.581 GB, free: 7.328 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.7061, allocations: 148 kB / 1.582 GB, free: 7.184 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.709, allocations: 1.788 MB / 1.583 GB, free: 5.285 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.7091, allocations: 4 kB / 1.583 GB, free: 5.281 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7092, allocations: 63.94 kB / 1.583 GB, free: 5.219 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.7093, allocations: 50.55 kB / 1.583 GB, free: 5.168 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.7117, allocations: 1.427 MB / 1.585 GB, free: 3.734 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.01043/0.7221, allocations: 7.551 MB / 1.592 GB, free: 11.75 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.724, allocations: 1.024 MB / 1.593 GB, free: 10.68 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.725, allocations: 0.671 MB / 1.594 GB, free: 9.996 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.7252, allocations: 110.1 kB / 1.594 GB, free: 9.867 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.7253, allocations: 55.56 kB / 1.594 GB, free: 9.805 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001437/0.7267, allocations: 350.8 kB / 1.594 GB, free: 9.461 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/0.7267, allocations: 0 / 1.594 GB, free: 9.461 MB / 1.295 GB Notification: Performance of matching and sorting (n=112): time 0.008875/0.7356, allocations: 4.532 MB / 1.599 GB, free: 4.863 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.7357, allocations: 167.2 kB / 1.599 GB, free: 4.66 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.7374, allocations: 1.263 MB / 1.6 GB, free: 3.387 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.7375, allocations: 53.7 kB / 1.6 GB, free: 3.328 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.7381, allocations: 0.7097 MB / 1.601 GB, free: 2.613 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.7385, allocations: 428.4 kB / 1.601 GB, free: 2.191 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.739, allocations: 259.5 kB / 1.602 GB, free: 1.93 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7391, allocations: 358 kB / 1.602 GB, free: 1.574 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.74, allocations: 0.5309 MB / 1.602 GB, free: 1.043 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.7412, allocations: 0.8518 MB / 1.603 GB, free: 68 kB / 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.8338/1.575, allocations: 4.795 MB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.575, allocations: 1.969 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003077/1.578, allocations: 1.625 MB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.578, allocations: 10.31 kB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.578, allocations: 7.234 kB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/1.578, allocations: 15.72 kB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.579, allocations: 292.7 kB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/1.579, allocations: 16.58 kB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.581, allocations: 56.31 kB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.581, allocations: 63.08 kB / 1.61 GB, free: 279.1 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.0008431/1.582, allocations: 418.9 kB / 1.61 GB, free: 278.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/1.582, allocations: 173.6 kB / 1.611 GB, free: 278.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/1.584, allocations: 1.293 MB / 1.612 GB, free: 278.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.584, allocations: 17.78 kB / 1.612 GB, free: 278.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.584, allocations: 1.453 kB / 1.612 GB, free: 278.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/1.586, allocations: 1.239 MB / 1.613 GB, free: 277.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006863/1.593, allocations: 3.769 MB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/1.593, allocations: 12.92 kB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.594, allocations: 246.7 kB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.648e-05/1.594, allocations: 14.56 kB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.594, allocations: 37.81 kB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-05/1.594, allocations: 29 kB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/1.594, allocations: 17.38 kB / 1.617 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/1.597, allocations: 2.124 MB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/1.598, allocations: 365.6 kB / 1.619 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.598, allocations: 40.94 kB / 1.619 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.599, allocations: 55.7 kB / 1.62 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.599, allocations: 106.7 kB / 1.62 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.411e-05/1.599, allocations: 51.02 kB / 1.62 GB, free: 274.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001323/1.601, allocations: 0.8522 MB / 1.621 GB, free: 273.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.601, allocations: 0 / 1.621 GB, free: 273.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001487/1.602, allocations: 437.8 kB / 1.621 GB, free: 273.8 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.0003973/1.603, allocations: 225.4 kB / 1.621 GB, free: 273.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002096/1.605, allocations: 1.177 MB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.605, allocations: 3.312 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008086/1.606, allocations: 0.5305 MB / 1.623 GB, free: 273.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.61, allocations: 0.9261 MB / 1.624 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/1.615, allocations: 3.454 MB / 1.627 GB, free: 270.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.616, allocations: 1.377 MB / 1.628 GB, free: 270.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001611/1.617, allocations: 385.9 kB / 1.629 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/1.618, allocations: 129.5 kB / 1.629 GB, free: 270.1 MB / 1.295 GB Notification: Performance of SimCode: time 8.81e-07/1.618, allocations: 0 / 1.629 GB, free: 270.1 MB / 1.295 GB Notification: Performance of Templates: time 0.04451/1.662, allocations: 30.76 MB / 1.659 GB, free: 249 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: 11.377163245342672]