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.001861/0.001861, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002234/0.002234, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.096/3.096, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.001999/0.001999, allocations: 70.17 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2378/0.543, allocations: 197.4 MB / 1.52 GB, free: 10.79 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.5609, allocations: 11.38 MB / 1.531 GB, free: 15.39 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.5628, allocations: 99.19 kB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.565, allocations: 0.8304 MB / 1.532 GB, free: 14.45 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.5729, allocations: 2.996 MB / 1.535 GB, free: 11.45 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.5767, allocations: 1.484 MB / 1.536 GB, free: 9.969 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006417/0.5831, allocations: 4.576 MB / 1.541 GB, free: 5.379 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.5853, allocations: 1.359 MB / 1.542 GB, free: 3.977 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006376/0.5917, allocations: 2.834 MB / 1.545 GB, free: 1.137 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.5948, allocations: 1.642 MB / 1.546 GB, free: 15.51 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.5951, allocations: 184 kB / 1.547 GB, free: 15.33 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.599, allocations: 1.8 MB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008293/0.5999, allocations: 0.7321 MB / 1.549 GB, free: 12.79 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.601, allocations: 0.8712 MB / 1.55 GB, free: 11.91 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.6056, allocations: 3.297 MB / 1.553 GB, free: 8.605 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6056, allocations: 0 / 1.553 GB, free: 8.605 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6056, allocations: 0 / 1.553 GB, free: 8.605 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.6056, allocations: 0 / 1.553 GB, free: 8.605 MB / 1.248 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.004015/0.6097, allocations: 2.253 MB / 1.555 GB, free: 6.312 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6097, allocations: 12.03 kB / 1.555 GB, free: 6.301 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.6129, allocations: 0.51 MB / 1.556 GB, free: 5.789 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.6155, allocations: 1.262 MB / 1.557 GB, free: 4.473 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.6156, allocations: 110.8 kB / 1.557 GB, free: 4.363 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.6158, allocations: 148 kB / 1.557 GB, free: 4.219 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.619, allocations: 2.157 MB / 1.559 GB, free: 1.859 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.555e-05/0.6191, allocations: 7.891 kB / 1.559 GB, free: 1.852 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.6193, allocations: 63.98 kB / 1.56 GB, free: 1.789 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.6193, allocations: 50.55 kB / 1.56 GB, free: 1.738 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6218, allocations: 1.419 MB / 1.561 GB, free: 320 kB / 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.009048/0.6309, allocations: 5.664 MB / 1.566 GB, free: 10.51 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.6327, allocations: 1.017 MB / 1.567 GB, free: 9.449 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.6337, allocations: 0.6715 MB / 1.568 GB, free: 8.762 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.6339, allocations: 32.98 kB / 1.568 GB, free: 8.73 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.634, allocations: 51.55 kB / 1.568 GB, free: 8.668 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001402/0.6354, allocations: 323.2 kB / 1.569 GB, free: 8.352 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 3.447e-06/0.6354, allocations: 0 / 1.569 GB, free: 8.352 MB / 1.264 GB Notification: Performance of matching and sorting (n=112): time 0.00895/0.6443, allocations: 4.37 MB / 1.573 GB, free: 3.949 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6444, allocations: 171.2 kB / 1.573 GB, free: 3.746 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.6458, allocations: 1.008 MB / 1.574 GB, free: 2.727 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.6459, allocations: 53.7 kB / 1.574 GB, free: 2.668 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.6466, allocations: 0.7356 MB / 1.575 GB, free: 1.922 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/0.647, allocations: 420.5 kB / 1.575 GB, free: 1.508 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004841/0.6475, allocations: 250.8 kB / 1.575 GB, free: 1.258 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.6477, allocations: 357.9 kB / 1.576 GB, free: 0.9023 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008789/0.6486, allocations: 0.5218 MB / 1.576 GB, free: 388 kB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.6499, allocations: 1.013 MB / 1.577 GB, free: 15.2 MB / 1.279 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.01252/0.6624, allocations: 4.499 MB / 1.582 GB, free: 10.59 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6624, allocations: 0 / 1.582 GB, free: 10.59 MB / 1.279 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002714/0.6651, allocations: 1.57 MB / 1.583 GB, free: 9.016 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6651, allocations: 12.95 kB / 1.583 GB, free: 9.004 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6651, allocations: 8 kB / 1.583 GB, free: 8.996 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.6652, allocations: 20 kB / 1.583 GB, free: 8.977 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6664, allocations: 279.5 kB / 1.583 GB, free: 8.703 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/0.6664, allocations: 19.92 kB / 1.583 GB, free: 8.684 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.6676, allocations: 47.73 kB / 1.583 GB, free: 8.641 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.6677, allocations: 63.92 kB / 1.584 GB, free: 8.578 MB / 1.279 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.0007242/0.6684, allocations: 425.3 kB / 1.584 GB, free: 8.152 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.6687, allocations: 143.1 kB / 1.584 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.6711, allocations: 1.277 MB / 1.585 GB, free: 6.723 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.6711, allocations: 20 kB / 1.585 GB, free: 6.703 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6711, allocations: 0 / 1.585 GB, free: 6.703 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001789/0.6729, allocations: 1.237 MB / 1.587 GB, free: 5.395 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006008/0.6789, allocations: 3.35 MB / 1.59 GB, free: 1.875 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6789, allocations: 8 kB / 1.59 GB, free: 1.867 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6801, allocations: 247.6 kB / 1.59 GB, free: 1.625 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/0.6801, allocations: 16 kB / 1.59 GB, free: 1.609 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.6802, allocations: 36 kB / 1.59 GB, free: 1.574 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.659e-05/0.6803, allocations: 24.42 kB / 1.59 GB, free: 1.551 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-05/0.6803, allocations: 27.88 kB / 1.59 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.6834, allocations: 2.1 MB / 1.592 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/0.6841, allocations: 259 kB / 1.592 GB, free: 15.03 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.6843, allocations: 39.98 kB / 1.593 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.6853, allocations: 59.61 kB / 1.593 GB, free: 14.94 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.6855, allocations: 108.2 kB / 1.593 GB, free: 14.83 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.6856, allocations: 51.98 kB / 1.593 GB, free: 14.78 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009121/0.6865, allocations: 0.6586 MB / 1.593 GB, free: 14.12 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6865, allocations: 0 / 1.593 GB, free: 14.12 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001304/0.6878, allocations: 420 kB / 1.594 GB, free: 13.71 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.0003957/0.6882, allocations: 236.2 kB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.6902, allocations: 1.163 MB / 1.595 GB, free: 12.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6902, allocations: 4.062 kB / 1.595 GB, free: 12.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.6911, allocations: 0.5282 MB / 1.596 GB, free: 11.77 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/0.6944, allocations: 0.7793 MB / 1.596 GB, free: 11.01 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.7001, allocations: 3.413 MB / 1.6 GB, free: 7.43 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/0.7011, allocations: 0.7916 MB / 1.601 GB, free: 6.605 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00114/0.7022, allocations: 347.4 kB / 1.601 GB, free: 6.262 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.7026, allocations: 123.4 kB / 1.601 GB, free: 6.141 MB / 1.295 GB Notification: Performance of SimCode: time 6.71e-07/0.7026, allocations: 0 / 1.601 GB, free: 6.141 MB / 1.295 GB Notification: Performance of Templates: time 0.5986/1.301, allocations: 30.5 MB / 1.631 GB, free: 272.6 MB / 1.295 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/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: 10.109879209994688]