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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001569/0.001569, allocations: 110.4 kB / 15.99 MB, free: 6.355 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.001717/0.001717, allocations: 194 kB / 16.91 MB, free: 6.191 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 65.62 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3698, allocations: 159.1 MB / 1.064 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9198/1.29, allocations: 219.8 MB / 1.278 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01767/1.307, allocations: 12.05 MB / 1.29 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/1.311, allocations: 71.5 kB / 1.29 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/1.313, allocations: 0.7343 MB / 1.291 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00823/1.322, allocations: 2.692 MB / 1.294 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004188/1.326, allocations: 1.296 MB / 1.295 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006337/1.332, allocations: 4.446 MB / 1.299 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/1.335, allocations: 1.69 MB / 1.301 GB, free: 6.676 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006659/1.342, allocations: 2.442 MB / 1.303 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/1.346, allocations: 1.647 MB / 1.305 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008163/1.347, allocations: 180 kB / 1.305 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/1.352, allocations: 2.272 MB / 1.307 GB, free: 148 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/1.354, allocations: 0.7012 MB / 1.308 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/1.356, allocations: 1.054 MB / 1.309 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004389/1.361, allocations: 2.479 MB / 1.311 GB, free: 11.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/1.361, allocations: 0 / 1.311 GB, free: 11.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/1.361, allocations: 3.938 kB / 1.311 GB, free: 11.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001133/1.361, allocations: 0 / 1.311 GB, free: 11.89 MB / 1.029 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.005587/1.366, allocations: 2.281 MB / 1.314 GB, free: 9.559 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.366, allocations: 8.625 kB / 1.314 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/1.37, allocations: 0.5011 MB / 1.314 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/1.374, allocations: 1.247 MB / 1.315 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/1.374, allocations: 110.7 kB / 1.315 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/1.374, allocations: 155.9 kB / 1.316 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/1.379, allocations: 1.756 MB / 1.317 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/1.379, allocations: 3.938 kB / 1.317 GB, free: 5.609 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/1.379, allocations: 71.97 kB / 1.317 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-05/1.379, allocations: 54.55 kB / 1.317 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/1.381, allocations: 1.403 MB / 1.319 GB, free: 4.074 MB / 1.029 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/1.392, allocations: 7.296 MB / 1.326 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/1.394, allocations: 1.047 MB / 1.327 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/1.395, allocations: 0.6945 MB / 1.328 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/1.395, allocations: 110.2 kB / 1.328 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.395, allocations: 59.5 kB / 1.328 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001555/1.397, allocations: 314.4 kB / 1.328 GB, free: 10.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=106): time 1.104e-05/1.397, allocations: 0 / 1.328 GB, free: 10.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=112): time 0.01002/1.407, allocations: 4.437 MB / 1.332 GB, free: 5.578 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.407, allocations: 175.3 kB / 1.333 GB, free: 5.371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/1.409, allocations: 1.263 MB / 1.334 GB, free: 4.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.409, allocations: 49.7 kB / 1.334 GB, free: 4.043 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/1.41, allocations: 0.7007 MB / 1.334 GB, free: 3.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000582/1.41, allocations: 406.2 kB / 1.335 GB, free: 2.934 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/1.411, allocations: 263.4 kB / 1.335 GB, free: 2.672 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.411, allocations: 361.9 kB / 1.335 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/1.412, allocations: 0.5271 MB / 1.336 GB, free: 1.785 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.413, allocations: 0.8592 MB / 1.337 GB, free: 0.8008 MB / 1.045 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.01215/1.425, allocations: 4.805 MB / 1.342 GB, free: 11.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.425, allocations: 8 kB / 1.342 GB, free: 11.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002857/1.428, allocations: 1.612 MB / 1.343 GB, free: 10.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.428, allocations: 8 kB / 1.343 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.428, allocations: 8 kB / 1.343 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/1.428, allocations: 16 kB / 1.343 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.429, allocations: 292.2 kB / 1.343 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/1.43, allocations: 19.94 kB / 1.343 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.431, allocations: 113.7 kB / 1.344 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.431, allocations: 59.98 kB / 1.344 GB, free: 9.703 MB / 1.061 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.0009227/1.432, allocations: 434.9 kB / 1.344 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/1.433, allocations: 166 kB / 1.344 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/1.435, allocations: 1.291 MB / 1.345 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/1.435, allocations: 12 kB / 1.345 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/1.435, allocations: 0 / 1.345 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/1.437, allocations: 1.244 MB / 1.347 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/1.444, allocations: 3.766 MB / 1.35 GB, free: 2.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.444, allocations: 12 kB / 1.35 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.445, allocations: 239.7 kB / 1.351 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.723e-05/1.445, allocations: 19.98 kB / 1.351 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/1.445, allocations: 43.88 kB / 1.351 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.259e-05/1.445, allocations: 19.92 kB / 1.351 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/1.445, allocations: 19.88 kB / 1.351 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/1.448, allocations: 2.121 MB / 1.353 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/1.449, allocations: 355 kB / 1.353 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/1.45, allocations: 43.92 kB / 1.353 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.451, allocations: 91.78 kB / 1.353 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.452, allocations: 100.3 kB / 1.353 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.452, allocations: 55.97 kB / 1.353 GB, free: 15.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001514/1.453, allocations: 0.849 MB / 1.354 GB, free: 14.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.453, allocations: 0 / 1.354 GB, free: 14.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001833/1.455, allocations: 436 kB / 1.355 GB, free: 13.96 MB / 1.076 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.0006768/1.456, allocations: 256.4 kB / 1.355 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002828/1.459, allocations: 1.43 MB / 1.356 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.459, allocations: 0 / 1.356 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008485/1.46, allocations: 0.5448 MB / 1.357 GB, free: 11.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.464, allocations: 0.9258 MB / 1.358 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/1.471, allocations: 4.115 MB / 1.362 GB, free: 6.562 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.472, allocations: 1.372 MB / 1.363 GB, free: 5.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/1.473, allocations: 135.4 kB / 1.363 GB, free: 5.027 MB / 1.076 GB Notification: Performance of SimCode: time 1.232e-06/1.473, allocations: 4 kB / 1.363 GB, free: 5.023 MB / 1.076 GB Notification: Performance of Templates: time 0.04354/1.516, allocations: 25.22 MB / 1.388 GB, free: 12 MB / 1.107 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches