Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002426/0.002426, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 13.93 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.002949/0.002949, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.464/3.464, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8775 GB, free: 5.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.069e-05, allocations: 3.344 kB / 0.8775 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9036/0.9037, allocations: 220.6 MB / 1.093 GB, free: 17.72 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02058/0.9242, allocations: 12.41 MB / 1.105 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.9287, allocations: 99.62 kB / 1.105 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003935/0.9327, allocations: 0.8548 MB / 1.106 GB, free: 17.04 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.9442, allocations: 3.051 MB / 1.109 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00484/0.949, allocations: 1.516 MB / 1.11 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.007404/0.9565, allocations: 4.559 MB / 1.115 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.9593, allocations: 1.355 MB / 1.116 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009502/0.9688, allocations: 3.377 MB / 1.119 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.9725, allocations: 1.5 MB / 1.121 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.9729, allocations: 181.9 kB / 1.121 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.9775, allocations: 1.808 MB / 1.123 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000881/0.9784, allocations: 0.7736 MB / 1.124 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.9797, allocations: 0.7448 MB / 1.124 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.9862, allocations: 3.418 MB / 1.128 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9862, allocations: 0 / 1.128 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9862, allocations: 0 / 1.128 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.557e-05/0.9863, allocations: 0.9688 kB / 1.128 GB, free: 8.266 MB / 0.9323 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.003997/0.9903, allocations: 2.47 MB / 1.13 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9903, allocations: 9.656 kB / 1.13 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.9934, allocations: 0.6528 MB / 1.131 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.9958, allocations: 1.292 MB / 1.132 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.9959, allocations: 109 kB / 1.132 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.9961, allocations: 156.8 kB / 1.132 GB, free: 5.766 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.9986, allocations: 2.051 MB / 1.134 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.9986, allocations: 6 kB / 1.134 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.9988, allocations: 66.06 kB / 1.134 GB, free: 4.391 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/0.9988, allocations: 52.52 kB / 1.134 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/1.001, allocations: 1.064 MB / 1.135 GB, free: 4.098 MB / 0.9323 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.009596/1.01, allocations: 7.383 MB / 1.143 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.012, allocations: 0.8586 MB / 1.144 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/1.013, allocations: 0.5215 MB / 1.144 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/1.013, allocations: 35.33 kB / 1.144 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.877e-05/1.013, allocations: 61.16 kB / 1.144 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001573/1.015, allocations: 308.9 kB / 1.144 GB, free: 13.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 4.388e-06/1.015, allocations: 0 / 1.144 GB, free: 13.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.00841/1.023, allocations: 3.801 MB / 1.148 GB, free: 11.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.023, allocations: 174 kB / 1.148 GB, free: 11.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.025, allocations: 1.207 MB / 1.149 GB, free: 10.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.025, allocations: 52.52 kB / 1.15 GB, free: 10.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008431/1.026, allocations: 0.8329 MB / 1.15 GB, free: 9.668 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005956/1.027, allocations: 452.9 kB / 1.151 GB, free: 9.289 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/1.027, allocations: 296.9 kB / 1.151 GB, free: 9.113 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003498/1.027, allocations: 0.567 MB / 1.152 GB, free: 8.574 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/1.028, allocations: 367.7 kB / 1.152 GB, free: 8.414 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/1.029, allocations: 0.9936 MB / 1.153 GB, free: 7.496 MB / 0.948 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.01094/1.04, allocations: 3.742 MB / 1.157 GB, free: 5.555 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.04, allocations: 6.656 kB / 1.157 GB, free: 5.555 MB / 0.948 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002626/1.043, allocations: 1.325 MB / 1.158 GB, free: 4.996 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.043, allocations: 16.66 kB / 1.158 GB, free: 4.988 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.043, allocations: 9.531 kB / 1.158 GB, free: 4.988 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/1.043, allocations: 19 kB / 1.158 GB, free: 4.984 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.044, allocations: 275.2 kB / 1.158 GB, free: 4.941 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/1.044, allocations: 23.98 kB / 1.158 GB, free: 4.938 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.046, allocations: 51.05 kB / 1.158 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.046, allocations: 54.67 kB / 1.158 GB, free: 4.895 MB / 0.948 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.0008992/1.047, allocations: 377.9 kB / 1.159 GB, free: 4.609 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/1.047, allocations: 177.2 kB / 1.159 GB, free: 4.523 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/1.05, allocations: 1.04 MB / 1.16 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/1.05, allocations: 11.84 kB / 1.16 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.05, allocations: 1.594 kB / 1.16 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/1.052, allocations: 1.016 MB / 1.161 GB, free: 3.324 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/1.061, allocations: 3.66 MB / 1.164 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/1.061, allocations: 13.56 kB / 1.164 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.062, allocations: 248.5 kB / 1.165 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/1.062, allocations: 12.78 kB / 1.165 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.062, allocations: 41.72 kB / 1.165 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/1.062, allocations: 21.89 kB / 1.165 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.062, allocations: 15.47 kB / 1.165 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/1.066, allocations: 1.93 MB / 1.167 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.067, allocations: 260.2 kB / 1.167 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/1.067, allocations: 34.66 kB / 1.167 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.069, allocations: 44.53 kB / 1.167 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/1.069, allocations: 108 kB / 1.167 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.069, allocations: 51.39 kB / 1.167 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001443/1.07, allocations: 0.702 MB / 1.168 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.01e-07/1.07, allocations: 4 kB / 1.168 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002366/1.073, allocations: 432 kB / 1.168 GB, free: 14.14 MB / 0.9636 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.0006294/1.073, allocations: 229 kB / 1.168 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002461/1.076, allocations: 0.9905 MB / 1.169 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.076, allocations: 0 / 1.169 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009227/1.077, allocations: 479.7 kB / 1.17 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004888/1.082, allocations: 0.7768 MB / 1.171 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/1.089, allocations: 3.207 MB / 1.174 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.091, allocations: 0.7604 MB / 1.174 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00179/1.092, allocations: 303.3 kB / 1.175 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/1.093, allocations: 120.5 kB / 1.175 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of SimCode: time 2.786e-06/1.093, allocations: 0 / 1.175 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of Templates: time 0.05741/1.15, allocations: 27.81 MB / 1.202 GB, free: 12.05 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.869094601948746]