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.001479/0.001479, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001707/0.001707, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.047/3.047, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] 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.002126/0.002126, allocations: 67.41 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3472, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2666/0.6137, allocations: 197.3 MB / 1.476 GB, free: 5.934 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.6337, allocations: 11.36 MB / 1.487 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.6361, allocations: 99.19 kB / 1.487 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.639, allocations: 0.8421 MB / 1.488 GB, free: 9.605 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.6509, allocations: 2.987 MB / 1.491 GB, free: 6.609 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.6553, allocations: 1.464 MB / 1.492 GB, free: 5.148 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.6623, allocations: 4.535 MB / 1.497 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.6652, allocations: 1.355 MB / 1.498 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008068/0.6732, allocations: 2.582 MB / 1.5 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004325/0.6776, allocations: 1.572 MB / 1.502 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0008567/0.6784, allocations: 180 kB / 1.502 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.6835, allocations: 1.8 MB / 1.504 GB, free: 9.078 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.6849, allocations: 0.7361 MB / 1.505 GB, free: 8.34 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002486/0.6874, allocations: 0.8635 MB / 1.505 GB, free: 7.473 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007278/0.6946, allocations: 3.301 MB / 1.509 GB, free: 4.16 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.6946, allocations: 3.984 kB / 1.509 GB, free: 4.156 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.316e-06/0.6946, allocations: 0 / 1.509 GB, free: 4.156 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.098e-05/0.6947, allocations: 0 / 1.509 GB, free: 4.156 MB / 1.201 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.004593/0.6993, allocations: 2.253 MB / 1.511 GB, free: 1.863 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6993, allocations: 12.03 kB / 1.511 GB, free: 1.852 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.7025, allocations: 0.51 MB / 1.511 GB, free: 1.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.7054, allocations: 1.25 MB / 1.513 GB, free: 40 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.7055, allocations: 106.8 kB / 1.513 GB, free: 15.93 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.7058, allocations: 156 kB / 1.513 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.709, allocations: 2.16 MB / 1.515 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.709, allocations: 3.938 kB / 1.515 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7091, allocations: 60 kB / 1.515 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.7092, allocations: 54.53 kB / 1.515 GB, free: 13.3 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.7117, allocations: 1.415 MB / 1.516 GB, free: 11.88 MB / 1.217 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.008559/0.7202, allocations: 5.674 MB / 1.522 GB, free: 6.062 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.722, allocations: 1.021 MB / 1.523 GB, free: 5 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.7231, allocations: 0.6676 MB / 1.524 GB, free: 4.316 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.7233, allocations: 36.92 kB / 1.524 GB, free: 4.281 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.7233, allocations: 55.56 kB / 1.524 GB, free: 4.219 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001309/0.7246, allocations: 331.2 kB / 1.524 GB, free: 3.895 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.516e-06/0.7246, allocations: 0 / 1.524 GB, free: 3.895 MB / 1.217 GB Notification: Performance of matching and sorting (n=112): time 0.008807/0.7334, allocations: 4.366 MB / 1.528 GB, free: 15.49 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7336, allocations: 167.2 kB / 1.528 GB, free: 15.29 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.735, allocations: 1.008 MB / 1.529 GB, free: 14.27 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7351, allocations: 49.7 kB / 1.529 GB, free: 14.22 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.7358, allocations: 0.7318 MB / 1.53 GB, free: 13.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/0.7362, allocations: 432.5 kB / 1.531 GB, free: 13.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.7366, allocations: 246.8 kB / 1.531 GB, free: 12.8 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.7368, allocations: 361.9 kB / 1.531 GB, free: 12.45 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.7378, allocations: 0.5178 MB / 1.532 GB, free: 11.93 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.7391, allocations: 1.013 MB / 1.533 GB, free: 10.75 MB / 1.232 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.01226/0.7513, allocations: 4.494 MB / 1.537 GB, free: 6.148 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.7514, allocations: 4 kB / 1.537 GB, free: 6.145 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002989/0.7543, allocations: 1.558 MB / 1.539 GB, free: 4.582 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7544, allocations: 8.969 kB / 1.539 GB, free: 4.574 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.7544, allocations: 12 kB / 1.539 GB, free: 4.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/0.7544, allocations: 16 kB / 1.539 GB, free: 4.547 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.7556, allocations: 287.5 kB / 1.539 GB, free: 4.266 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.7556, allocations: 19.94 kB / 1.539 GB, free: 4.246 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.757, allocations: 47.92 kB / 1.539 GB, free: 4.199 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.7572, allocations: 59.98 kB / 1.539 GB, free: 4.141 MB / 1.232 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.0008412/0.758, allocations: 423.2 kB / 1.539 GB, free: 3.719 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.7584, allocations: 147.1 kB / 1.54 GB, free: 3.574 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.7607, allocations: 1.273 MB / 1.541 GB, free: 2.285 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.7607, allocations: 16.05 kB / 1.541 GB, free: 2.27 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7607, allocations: 3.984 kB / 1.541 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001897/0.7626, allocations: 1.248 MB / 1.542 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.7688, allocations: 3.338 MB / 1.545 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.7688, allocations: 12 kB / 1.545 GB, free: 13.42 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.77, allocations: 243.6 kB / 1.546 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.7701, allocations: 12 kB / 1.546 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-05/0.7702, allocations: 43.98 kB / 1.546 GB, free: 13.13 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/0.7702, allocations: 20.44 kB / 1.546 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/0.7702, allocations: 23.88 kB / 1.546 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.7735, allocations: 2.111 MB / 1.548 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007646/0.7742, allocations: 267 kB / 1.548 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.7744, allocations: 35.98 kB / 1.548 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.7755, allocations: 59.64 kB / 1.548 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7757, allocations: 104.2 kB / 1.548 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.7757, allocations: 51.98 kB / 1.548 GB, free: 10.33 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009648/0.7767, allocations: 0.6625 MB / 1.549 GB, free: 9.664 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7767, allocations: 0 / 1.549 GB, free: 9.664 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00152/0.7782, allocations: 424 kB / 1.549 GB, free: 9.25 MB / 1.248 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.0004344/0.7787, allocations: 213.1 kB / 1.549 GB, free: 9.031 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.7808, allocations: 1.175 MB / 1.551 GB, free: 7.859 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7808, allocations: 4.062 kB / 1.551 GB, free: 7.855 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.7816, allocations: 0.5282 MB / 1.551 GB, free: 7.324 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.7851, allocations: 0.7735 MB / 1.552 GB, free: 6.574 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/0.791, allocations: 3.429 MB / 1.555 GB, free: 2.98 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000961/0.7919, allocations: 0.7877 MB / 1.556 GB, free: 2.156 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001366/0.7933, allocations: 351.4 kB / 1.556 GB, free: 1.809 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.7937, allocations: 115.4 kB / 1.556 GB, free: 1.695 MB / 1.248 GB Notification: Performance of SimCode: time 1.202e-06/0.7937, allocations: 0 / 1.556 GB, free: 1.695 MB / 1.248 GB Notification: Performance of Templates: time 0.05429/0.848, allocations: 30.14 MB / 1.586 GB, free: 4.203 MB / 1.279 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/jenkins/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: 10.861097496002913]