Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001565/0.001565, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001774/0.001774, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.697/2.697, allocations: 476.7 MB / 0.7714 GB, free: 4.352 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002037/0.002037, allocations: 63.39 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2715/0.5819, allocations: 227 MB / 1.506 GB, free: 7.398 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.601, allocations: 12.22 MB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.6038, allocations: 103.1 kB / 1.518 GB, free: 11.05 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.6067, allocations: 0.8927 MB / 1.519 GB, free: 10.15 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008149/0.6149, allocations: 3.026 MB / 1.522 GB, free: 7.117 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.6192, allocations: 1.507 MB / 1.524 GB, free: 5.613 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007039/0.6263, allocations: 4.587 MB / 1.528 GB, free: 1.012 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.6287, allocations: 1.359 MB / 1.529 GB, free: 15.61 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006276/0.635, allocations: 2.613 MB / 1.532 GB, free: 13 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003804/0.6388, allocations: 1.664 MB / 1.534 GB, free: 11.34 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0005434/0.6394, allocations: 180 kB / 1.534 GB, free: 11.17 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.6445, allocations: 2.338 MB / 1.536 GB, free: 8.824 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0009095/0.6454, allocations: 0.7399 MB / 1.537 GB, free: 8.082 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.6469, allocations: 1.042 MB / 1.538 GB, free: 7.035 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.6528, allocations: 3.344 MB / 1.541 GB, free: 3.68 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6528, allocations: 3.938 kB / 1.541 GB, free: 3.676 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6528, allocations: 4 kB / 1.541 GB, free: 3.672 MB / 1.233 GB Notification: Performance of Transformations before backend: time 4.56e-05/0.6528, allocations: 0 / 1.541 GB, free: 3.672 MB / 1.233 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.004492/0.6573, allocations: 2.253 MB / 1.543 GB, free: 1.379 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6574, allocations: 12.03 kB / 1.543 GB, free: 1.367 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.6605, allocations: 0.5061 MB / 1.544 GB, free: 0.8594 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.6634, allocations: 1.262 MB / 1.545 GB, free: 15.55 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.45e-05/0.6635, allocations: 102.8 kB / 1.545 GB, free: 15.45 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.6637, allocations: 148 kB / 1.545 GB, free: 15.3 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.6667, allocations: 1.788 MB / 1.547 GB, free: 13.4 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.6667, allocations: 7.891 kB / 1.547 GB, free: 13.39 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.6669, allocations: 60 kB / 1.547 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-05/0.6669, allocations: 50.55 kB / 1.547 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.6694, allocations: 1.431 MB / 1.549 GB, free: 11.85 MB / 1.248 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.009897/0.6793, allocations: 7.25 MB / 1.556 GB, free: 4.219 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.681, allocations: 1.021 MB / 1.557 GB, free: 3.16 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009897/0.682, allocations: 0.6599 MB / 1.557 GB, free: 2.484 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.6822, allocations: 40.97 kB / 1.557 GB, free: 2.441 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.6823, allocations: 59.48 kB / 1.557 GB, free: 2.375 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00145/0.6837, allocations: 346.9 kB / 1.558 GB, free: 2.035 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 3.717e-06/0.6837, allocations: 0 / 1.558 GB, free: 2.035 MB / 1.248 GB Notification: Performance of matching and sorting (n=112): time 0.008594/0.6923, allocations: 4.386 MB / 1.562 GB, free: 13.62 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6924, allocations: 171.2 kB / 1.562 GB, free: 13.41 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.6941, allocations: 1.263 MB / 1.563 GB, free: 12.14 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.6943, allocations: 53.7 kB / 1.563 GB, free: 12.08 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/0.6949, allocations: 0.7098 MB / 1.564 GB, free: 11.37 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004261/0.6953, allocations: 424.4 kB / 1.565 GB, free: 10.95 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/0.6957, allocations: 263.5 kB / 1.565 GB, free: 10.68 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6958, allocations: 353.9 kB / 1.565 GB, free: 10.33 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008904/0.6967, allocations: 0.5309 MB / 1.566 GB, free: 9.801 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.6979, allocations: 0.8557 MB / 1.566 GB, free: 8.824 MB / 1.264 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.01206/0.71, allocations: 4.57 MB / 1.571 GB, free: 4.145 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.71, allocations: 0 / 1.571 GB, free: 4.145 MB / 1.264 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002755/0.7127, allocations: 1.625 MB / 1.573 GB, free: 2.512 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.7127, allocations: 8 kB / 1.573 GB, free: 2.504 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.7128, allocations: 8 kB / 1.573 GB, free: 2.496 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.7128, allocations: 12 kB / 1.573 GB, free: 2.484 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.7139, allocations: 291.5 kB / 1.573 GB, free: 2.199 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.952e-05/0.714, allocations: 31.92 kB / 1.573 GB, free: 2.168 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7153, allocations: 49.94 kB / 1.573 GB, free: 2.121 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7154, allocations: 67.91 kB / 1.573 GB, free: 2.055 MB / 1.264 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.0008488/0.7163, allocations: 431.2 kB / 1.573 GB, free: 1.625 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.7166, allocations: 170.9 kB / 1.574 GB, free: 1.457 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.7188, allocations: 1.291 MB / 1.575 GB, free: 160 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.7188, allocations: 12 kB / 1.575 GB, free: 148 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7188, allocations: 0 / 1.575 GB, free: 148 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/0.7205, allocations: 1.241 MB / 1.576 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/0.7266, allocations: 3.73 MB / 1.58 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.7267, allocations: 12 kB / 1.58 GB, free: 10.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7278, allocations: 251.6 kB / 1.58 GB, free: 10.66 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/0.7278, allocations: 16 kB / 1.58 GB, free: 10.64 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.7279, allocations: 43.94 kB / 1.58 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/0.7279, allocations: 19.92 kB / 1.58 GB, free: 10.58 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.7279, allocations: 15.98 kB / 1.58 GB, free: 10.56 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.7309, allocations: 2.13 MB / 1.582 GB, free: 8.285 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.7317, allocations: 286.8 kB / 1.582 GB, free: 8.004 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7319, allocations: 39.92 kB / 1.582 GB, free: 7.965 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.733, allocations: 52.58 kB / 1.582 GB, free: 7.914 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.7331, allocations: 104.3 kB / 1.583 GB, free: 7.812 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/0.7332, allocations: 55.97 kB / 1.583 GB, free: 7.758 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001222/0.7344, allocations: 0.8528 MB / 1.583 GB, free: 6.906 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7344, allocations: 0 / 1.583 GB, free: 6.906 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001424/0.7358, allocations: 432 kB / 1.584 GB, free: 6.484 MB / 1.279 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.0003779/0.7362, allocations: 223.5 kB / 1.584 GB, free: 6.258 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.7382, allocations: 1.184 MB / 1.585 GB, free: 5.074 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.7383, allocations: 4 kB / 1.585 GB, free: 5.07 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.7391, allocations: 0.525 MB / 1.586 GB, free: 4.543 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/0.7436, allocations: 0.9394 MB / 1.587 GB, free: 3.625 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.7493, allocations: 3.528 MB / 1.59 GB, free: 15.92 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.7504, allocations: 1.372 MB / 1.591 GB, free: 14.52 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.751, allocations: 131.4 kB / 1.592 GB, free: 14.39 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/0.751, allocations: 0 / 1.592 GB, free: 14.39 MB / 1.295 GB Notification: Performance of Templates: time 0.6412/1.392, allocations: 25.45 MB / 1.616 GB, free: 308.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.00105382699985]