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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001336/0.001336, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 482.6 MB / 0.7548 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 67 kB / 0.9241 GB, free: 29.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4134, allocations: 162.3 MB / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8806/1.294, allocations: 222.7 MB / 1.3 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02043/1.315, allocations: 12.13 MB / 1.312 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/1.319, allocations: 77.03 kB / 1.312 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/1.323, allocations: 0.8539 MB / 1.313 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009619/1.332, allocations: 2.86 MB / 1.316 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004641/1.337, allocations: 1.423 MB / 1.317 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007479/1.345, allocations: 4.45 MB / 1.321 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/1.348, allocations: 1.708 MB / 1.323 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007742/1.356, allocations: 2.711 MB / 1.326 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00445/1.36, allocations: 1.539 MB / 1.327 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00059/1.361, allocations: 180.4 kB / 1.327 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/1.367, allocations: 2.152 MB / 1.329 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009451/1.368, allocations: 0.6959 MB / 1.33 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002129/1.37, allocations: 1.048 MB / 1.331 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006922/1.377, allocations: 3.276 MB / 1.334 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.377, allocations: 0 / 1.334 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.377, allocations: 0.75 kB / 1.334 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.334e-05/1.377, allocations: 0 / 1.334 GB, free: 4.207 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.005112/1.382, allocations: 2.289 MB / 1.337 GB, free: 18.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.382, allocations: 8.938 kB / 1.337 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/1.386, allocations: 0.4969 MB / 1.337 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/1.388, allocations: 1.253 MB / 1.338 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/1.388, allocations: 111.3 kB / 1.338 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.389, allocations: 147.8 kB / 1.339 GB, free: 17.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/1.391, allocations: 1.773 MB / 1.34 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/1.391, allocations: 4.969 kB / 1.34 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.391, allocations: 58.22 kB / 1.34 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/1.391, allocations: 54.48 kB / 1.34 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/1.394, allocations: 1.402 MB / 1.342 GB, free: 16.59 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.009341/1.403, allocations: 7.556 MB / 1.349 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/1.404, allocations: 1.058 MB / 1.35 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.406, allocations: 0.6931 MB / 1.351 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/1.406, allocations: 120.2 kB / 1.351 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/1.406, allocations: 46.72 kB / 1.351 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/1.407, allocations: 314.7 kB / 1.351 GB, free: 10.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.609e-06/1.407, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008523/1.416, allocations: 4.436 MB / 1.356 GB, free: 7.691 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.416, allocations: 166.8 kB / 1.356 GB, free: 7.504 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.418, allocations: 1.277 MB / 1.357 GB, free: 7.008 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.418, allocations: 50.08 kB / 1.357 GB, free: 6.961 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/1.418, allocations: 0.6989 MB / 1.358 GB, free: 6.414 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/1.419, allocations: 399.4 kB / 1.358 GB, free: 6.109 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/1.419, allocations: 264.2 kB / 1.358 GB, free: 5.988 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.419, allocations: 360.8 kB / 1.359 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008017/1.42, allocations: 0.5266 MB / 1.359 GB, free: 5.469 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.421, allocations: 0.8549 MB / 1.36 GB, free: 4.902 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.01142/1.433, allocations: 4.806 MB / 1.365 GB, free: 2.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.433, allocations: 2.375 kB / 1.365 GB, free: 2.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002821/1.436, allocations: 1.616 MB / 1.366 GB, free: 2.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.436, allocations: 13.58 kB / 1.366 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.436, allocations: 11.56 kB / 1.366 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/1.436, allocations: 15.69 kB / 1.366 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.437, allocations: 291.9 kB / 1.367 GB, free: 2.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/1.437, allocations: 18.19 kB / 1.367 GB, free: 2.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.438, allocations: 58.98 kB / 1.367 GB, free: 2.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.439, allocations: 58.77 kB / 1.367 GB, free: 2.23 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.0008323/1.439, allocations: 431.2 kB / 1.367 GB, free: 1.977 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/1.44, allocations: 162.3 kB / 1.367 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/1.442, allocations: 1.295 MB / 1.369 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.442, allocations: 10.25 kB / 1.369 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.442, allocations: 3.406 kB / 1.369 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/1.444, allocations: 1.243 MB / 1.37 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/1.45, allocations: 3.764 MB / 1.374 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.45, allocations: 10.47 kB / 1.374 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.451, allocations: 245.1 kB / 1.374 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/1.451, allocations: 15.59 kB / 1.374 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/1.451, allocations: 45.67 kB / 1.374 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-05/1.451, allocations: 18.66 kB / 1.374 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.451, allocations: 15.75 kB / 1.374 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/1.454, allocations: 2.139 MB / 1.376 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/1.455, allocations: 353.3 kB / 1.376 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.455, allocations: 48.02 kB / 1.376 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.456, allocations: 45.52 kB / 1.376 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.457, allocations: 103.4 kB / 1.376 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.423e-05/1.457, allocations: 49.33 kB / 1.377 GB, free: 12.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001176/1.458, allocations: 0.8523 MB / 1.377 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.7e-07/1.458, allocations: 0 / 1.377 GB, free: 11.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001516/1.459, allocations: 438.2 kB / 1.378 GB, free: 11.78 MB / 1.029 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.0006389/1.46, allocations: 244.7 kB / 1.378 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002691/1.463, allocations: 1.427 MB / 1.379 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.463, allocations: 4.094 kB / 1.379 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/1.464, allocations: 0.5504 MB / 1.38 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/1.468, allocations: 0.9354 MB / 1.381 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/1.474, allocations: 3.435 MB / 1.384 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.475, allocations: 1.375 MB / 1.386 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001794/1.477, allocations: 383 kB / 1.386 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/1.477, allocations: 122.8 kB / 1.386 GB, free: 6.895 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/1.477, allocations: 0 / 1.386 GB, free: 6.895 MB / 1.029 GB Notification: Performance of Templates: time 0.0583/1.536, allocations: 30.38 MB / 1.416 GB, free: 11.36 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) 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) Reference file matches