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.001686/0.001686, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002/0.002, allocations: 218.7 kB / 22.26 MB, free: 5.074 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 8.008 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.869/2.869, allocations: 476.7 MB / 0.7706 GB, free: 4.277 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.002098/0.002098, allocations: 64.8 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3415, allocations: 170 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2983/0.6398, allocations: 227 MB / 1.506 GB, free: 7.328 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.6605, allocations: 12.22 MB / 1.517 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003251/0.6638, allocations: 103.1 kB / 1.518 GB, free: 10.98 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.6669, allocations: 0.8889 MB / 1.518 GB, free: 10.09 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.6774, allocations: 3.027 MB / 1.521 GB, free: 7.051 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005018/0.6825, allocations: 1.502 MB / 1.523 GB, free: 5.555 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.008329/0.6908, allocations: 4.589 MB / 1.527 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003311/0.6941, allocations: 1.378 MB / 1.529 GB, free: 15.54 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007941/0.702, allocations: 2.594 MB / 1.531 GB, free: 12.94 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.7063, allocations: 1.673 MB / 1.533 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0008395/0.7072, allocations: 180 kB / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/0.7133, allocations: 2.338 MB / 1.535 GB, free: 8.754 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.715, allocations: 0.7399 MB / 1.536 GB, free: 8.012 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002804/0.7178, allocations: 1.05 MB / 1.537 GB, free: 6.957 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.7259, allocations: 3.348 MB / 1.54 GB, free: 3.598 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7259, allocations: 0 / 1.54 GB, free: 3.598 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7259, allocations: 0 / 1.54 GB, free: 3.598 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001022/0.726, allocations: 0 / 1.54 GB, free: 3.598 MB / 1.232 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.005446/0.7315, allocations: 2.249 MB / 1.543 GB, free: 1.309 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7315, allocations: 12.03 kB / 1.543 GB, free: 1.297 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.7348, allocations: 0.5022 MB / 1.543 GB, free: 0.793 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.7379, allocations: 1.258 MB / 1.544 GB, free: 15.48 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.738, allocations: 110.8 kB / 1.544 GB, free: 15.37 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.7383, allocations: 151.9 kB / 1.545 GB, free: 15.22 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.7414, allocations: 1.772 MB / 1.546 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.7414, allocations: 11.89 kB / 1.546 GB, free: 13.33 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.7416, allocations: 71.97 kB / 1.546 GB, free: 13.26 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.907e-05/0.7417, allocations: 54.55 kB / 1.546 GB, free: 13.2 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.7442, allocations: 1.423 MB / 1.548 GB, free: 11.77 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.01058/0.7548, allocations: 7.25 MB / 1.555 GB, free: 4.145 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.7566, allocations: 1.02 MB / 1.556 GB, free: 3.086 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.7577, allocations: 0.6638 MB / 1.556 GB, free: 2.406 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.7579, allocations: 37.12 kB / 1.557 GB, free: 2.367 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.758, allocations: 55.48 kB / 1.557 GB, free: 2.305 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001565/0.7595, allocations: 350.9 kB / 1.557 GB, free: 1.961 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 3.907e-06/0.7596, allocations: 0 / 1.557 GB, free: 1.961 MB / 1.248 GB Notification: Performance of matching and sorting (n=112): time 0.009101/0.7687, allocations: 4.374 MB / 1.561 GB, free: 13.56 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.7688, allocations: 175.3 kB / 1.561 GB, free: 13.35 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.7706, allocations: 1.271 MB / 1.563 GB, free: 12.07 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.7708, allocations: 53.7 kB / 1.563 GB, free: 12.01 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/0.7714, allocations: 0.7059 MB / 1.563 GB, free: 11.3 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.7719, allocations: 428.4 kB / 1.564 GB, free: 10.88 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/0.7723, allocations: 255.5 kB / 1.564 GB, free: 10.62 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7725, allocations: 365.8 kB / 1.564 GB, free: 10.26 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009139/0.7734, allocations: 0.5271 MB / 1.565 GB, free: 9.73 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.7747, allocations: 0.8557 MB / 1.566 GB, free: 8.754 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.01257/0.7873, allocations: 4.566 MB / 1.57 GB, free: 4.078 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.7873, allocations: 4 kB / 1.57 GB, free: 4.074 MB / 1.264 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003059/0.7903, allocations: 1.624 MB / 1.572 GB, free: 2.441 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.7904, allocations: 8 kB / 1.572 GB, free: 2.434 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.7904, allocations: 12 kB / 1.572 GB, free: 2.422 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.7904, allocations: 12 kB / 1.572 GB, free: 2.41 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.7917, allocations: 291.5 kB / 1.572 GB, free: 2.125 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.7917, allocations: 16.55 kB / 1.572 GB, free: 2.109 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.7931, allocations: 64.98 kB / 1.572 GB, free: 2.051 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.7932, allocations: 55.98 kB / 1.572 GB, free: 1.996 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.0008162/0.794, allocations: 441.1 kB / 1.573 GB, free: 1.559 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.7944, allocations: 170.9 kB / 1.573 GB, free: 1.391 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.7968, allocations: 1.291 MB / 1.574 GB, free: 92 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.7968, allocations: 12 kB / 1.574 GB, free: 80 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7968, allocations: 0 / 1.574 GB, free: 80 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/0.7987, allocations: 1.248 MB / 1.575 GB, free: 14.76 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/0.8054, allocations: 3.726 MB / 1.579 GB, free: 10.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.8054, allocations: 12 kB / 1.579 GB, free: 10.83 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8067, allocations: 247.6 kB / 1.579 GB, free: 10.59 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/0.8067, allocations: 12 kB / 1.579 GB, free: 10.58 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.8068, allocations: 43.92 kB / 1.579 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/0.8068, allocations: 20.44 kB / 1.579 GB, free: 10.52 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.8068, allocations: 19.94 kB / 1.579 GB, free: 10.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.8102, allocations: 2.134 MB / 1.581 GB, free: 8.215 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/0.811, allocations: 282.8 kB / 1.582 GB, free: 7.938 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.8112, allocations: 39.94 kB / 1.582 GB, free: 7.898 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8123, allocations: 50.38 kB / 1.582 GB, free: 7.852 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.8125, allocations: 104.2 kB / 1.582 GB, free: 7.75 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/0.8126, allocations: 51.98 kB / 1.582 GB, free: 7.699 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00132/0.8139, allocations: 0.8529 MB / 1.583 GB, free: 6.848 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8139, allocations: 0 / 1.583 GB, free: 6.848 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001555/0.8155, allocations: 439.9 kB / 1.583 GB, free: 6.418 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.0004454/0.8159, allocations: 217.6 kB / 1.583 GB, free: 6.195 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.8182, allocations: 1.188 MB / 1.584 GB, free: 5.008 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.8182, allocations: 7.938 kB / 1.584 GB, free: 5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.819, allocations: 0.5291 MB / 1.585 GB, free: 4.469 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/0.8232, allocations: 0.923 MB / 1.586 GB, free: 3.562 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.8291, allocations: 3.46 MB / 1.589 GB, free: 15.93 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.8303, allocations: 1.376 MB / 1.591 GB, free: 14.53 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001427/0.8317, allocations: 381.3 kB / 1.591 GB, free: 14.15 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.8322, allocations: 131.4 kB / 1.591 GB, free: 14.02 MB / 1.295 GB Notification: Performance of SimCode: time 7.41e-07/0.8322, allocations: 0 / 1.591 GB, free: 14.02 MB / 1.295 GB Notification: Performance of Templates: time 0.7288/1.561, allocations: 31.46 MB / 1.622 GB, free: 312.9 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/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: 11.541585850063711]