Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 64.14 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.69, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2489/0.9389, allocations: 219.8 MB / 1.231 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.9572, allocations: 12.05 MB / 1.243 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.9602, allocations: 71.5 kB / 1.243 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.9629, allocations: 0.7498 MB / 1.244 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00771/0.9707, allocations: 2.669 MB / 1.247 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.9744, allocations: 1.31 MB / 1.248 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006615/0.981, allocations: 4.452 MB / 1.252 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6657/1.647, allocations: 1.667 MB / 1.254 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007164/1.654, allocations: 2.453 MB / 1.256 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005059/1.659, allocations: 1.637 MB / 1.258 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006868/1.66, allocations: 179.6 kB / 1.258 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/1.665, allocations: 2.276 MB / 1.26 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.667, allocations: 0.7019 MB / 1.261 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/1.669, allocations: 1.053 MB / 1.262 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007949/1.677, allocations: 3.422 MB / 1.265 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.677, allocations: 1.406 kB / 1.265 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/1.677, allocations: 0 / 1.265 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001088/1.677, allocations: 1.156 kB / 1.265 GB, free: 5.062 MB / 0.9981 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.006098/1.683, allocations: 2.274 MB / 1.268 GB, free: 20 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.683, allocations: 11.91 kB / 1.268 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/1.687, allocations: 0.4957 MB / 1.268 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/1.689, allocations: 1.258 MB / 1.269 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/1.689, allocations: 106.9 kB / 1.269 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/1.689, allocations: 151.6 kB / 1.269 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/1.692, allocations: 1.761 MB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/1.692, allocations: 6 kB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.693, allocations: 62.84 kB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/1.693, allocations: 52.12 kB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/1.695, allocations: 1.405 MB / 1.273 GB, free: 19.14 MB / 1.014 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.008585/1.704, allocations: 7.311 MB / 1.28 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.705, allocations: 1.043 MB / 1.281 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009042/1.706, allocations: 0.6963 MB / 1.282 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/1.706, allocations: 111.6 kB / 1.282 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.706, allocations: 57.16 kB / 1.282 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001508/1.708, allocations: 307.4 kB / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.879e-06/1.708, allocations: 0 / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008833/1.717, allocations: 4.448 MB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.717, allocations: 171.4 kB / 1.287 GB, free: 13.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/1.718, allocations: 1.262 MB / 1.288 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.718, allocations: 52.02 kB / 1.288 GB, free: 13.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/1.719, allocations: 0.6989 MB / 1.288 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/1.719, allocations: 400.7 kB / 1.289 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/1.72, allocations: 268.4 kB / 1.289 GB, free: 12.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.72, allocations: 360.3 kB / 1.289 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008037/1.721, allocations: 0.5281 MB / 1.29 GB, free: 12.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/1.722, allocations: 0.8544 MB / 1.291 GB, free: 11.95 MB / 1.014 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.01151/1.733, allocations: 4.804 MB / 1.295 GB, free: 11.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.733, allocations: 3.375 kB / 1.295 GB, free: 11.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002672/1.736, allocations: 1.613 MB / 1.297 GB, free: 11.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.736, allocations: 12.5 kB / 1.297 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.736, allocations: 8.5 kB / 1.297 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.736, allocations: 16.41 kB / 1.297 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.737, allocations: 300 kB / 1.297 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/1.737, allocations: 15.91 kB / 1.297 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.739, allocations: 116.2 kB / 1.298 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.739, allocations: 62.77 kB / 1.298 GB, free: 11.16 MB / 1.014 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.0009476/1.74, allocations: 432.9 kB / 1.298 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/1.74, allocations: 165.7 kB / 1.298 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.742, allocations: 1.286 MB / 1.299 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.742, allocations: 13.47 kB / 1.299 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.742, allocations: 1.203 kB / 1.299 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/1.744, allocations: 1.246 MB / 1.301 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/1.75, allocations: 3.768 MB / 1.304 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.75, allocations: 12.09 kB / 1.304 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.751, allocations: 248.7 kB / 1.305 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.751, allocations: 15.78 kB / 1.305 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/1.751, allocations: 37.81 kB / 1.305 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/1.751, allocations: 22.86 kB / 1.305 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.751, allocations: 14.25 kB / 1.305 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/1.754, allocations: 2.126 MB / 1.307 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/1.754, allocations: 360.6 kB / 1.307 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.755, allocations: 33.81 kB / 1.307 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.756, allocations: 94 kB / 1.307 GB, free: 8.719 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.756, allocations: 102.4 kB / 1.307 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.308e-05/1.756, allocations: 47.78 kB / 1.307 GB, free: 8.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001079/1.757, allocations: 0.8546 MB / 1.308 GB, free: 8.602 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.757, allocations: 2.781 kB / 1.308 GB, free: 8.602 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001623/1.759, allocations: 436.2 kB / 1.309 GB, free: 8.602 MB / 1.014 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.0006701/1.76, allocations: 238.4 kB / 1.309 GB, free: 8.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00247/1.762, allocations: 1.43 MB / 1.31 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.762, allocations: 3.062 kB / 1.31 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007263/1.763, allocations: 0.5498 MB / 1.311 GB, free: 8.461 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/1.767, allocations: 0.9324 MB / 1.312 GB, free: 8.352 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/1.773, allocations: 4.025 MB / 1.316 GB, free: 6.141 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/1.774, allocations: 1.374 MB / 1.317 GB, free: 5.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001934/1.776, allocations: 385 kB / 1.317 GB, free: 5.328 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/1.776, allocations: 127.4 kB / 1.317 GB, free: 5.324 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.776, allocations: 0 / 1.317 GB, free: 5.324 MB / 1.014 GB Notification: Performance of Templates: time 0.05285/1.829, allocations: 30.25 MB / 1.347 GB, free: 13.43 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches