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.001648/0.001647, 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.00155/0.00155, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7448 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.48 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3017, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.015/1.317, allocations: 219.8 MB / 1.282 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02018/1.337, allocations: 12.04 MB / 1.294 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/1.342, allocations: 67.41 kB / 1.294 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003154/1.345, allocations: 0.7451 MB / 1.295 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/1.355, allocations: 2.687 MB / 1.298 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00482/1.36, allocations: 1.29 MB / 1.299 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008216/1.368, allocations: 4.459 MB / 1.303 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/1.372, allocations: 1.68 MB / 1.305 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007394/1.379, allocations: 2.45 MB / 1.307 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/1.383, allocations: 1.65 MB / 1.309 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004599/1.384, allocations: 180.1 kB / 1.309 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00632/1.39, allocations: 2.27 MB / 1.311 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008894/1.391, allocations: 0.7095 MB / 1.312 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/1.393, allocations: 1.048 MB / 1.313 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/1.4, allocations: 3.42 MB / 1.316 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.4, allocations: 0.5625 kB / 1.316 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.4, allocations: 2.125 kB / 1.316 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.185e-05/1.4, allocations: 0 / 1.316 GB, free: 4.066 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.004978/1.405, allocations: 2.282 MB / 1.318 GB, free: 18.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/1.405, allocations: 9.625 kB / 1.318 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/1.408, allocations: 0.4958 MB / 1.319 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/1.41, allocations: 1.255 MB / 1.32 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/1.41, allocations: 108.5 kB / 1.32 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/1.411, allocations: 159.3 kB / 1.32 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/1.414, allocations: 1.763 MB / 1.322 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/1.414, allocations: 9.094 kB / 1.322 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/1.414, allocations: 60.47 kB / 1.322 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/1.414, allocations: 52.39 kB / 1.322 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/1.416, allocations: 1.396 MB / 1.324 GB, free: 18.12 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.009042/1.425, allocations: 7.305 MB / 1.331 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/1.427, allocations: 1.048 MB / 1.332 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/1.428, allocations: 0.6924 MB / 1.332 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/1.428, allocations: 112.5 kB / 1.333 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/1.428, allocations: 57.75 kB / 1.333 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001542/1.429, allocations: 323 kB / 1.333 GB, free: 13.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.829e-06/1.43, allocations: 3.984 kB / 1.333 GB, free: 13.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008447/1.438, allocations: 4.428 MB / 1.337 GB, free: 12.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.438, allocations: 176 kB / 1.337 GB, free: 12.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/1.44, allocations: 1.264 MB / 1.339 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/1.44, allocations: 51.92 kB / 1.339 GB, free: 11.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/1.44, allocations: 0.7001 MB / 1.339 GB, free: 11.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/1.441, allocations: 402.8 kB / 1.34 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/1.441, allocations: 260.6 kB / 1.34 GB, free: 10.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.441, allocations: 358.2 kB / 1.34 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/1.442, allocations: 0.5313 MB / 1.341 GB, free: 10.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.443, allocations: 0.8571 MB / 1.342 GB, free: 9.586 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.01152/1.455, allocations: 4.803 MB / 1.346 GB, free: 7.586 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.455, allocations: 6.531 kB / 1.346 GB, free: 7.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002627/1.457, allocations: 1.614 MB / 1.348 GB, free: 6.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.457, allocations: 8.031 kB / 1.348 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.458, allocations: 14.06 kB / 1.348 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/1.458, allocations: 13.5 kB / 1.348 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.459, allocations: 300.2 kB / 1.348 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/1.459, allocations: 22.64 kB / 1.348 GB, free: 6.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.46, allocations: 111.6 kB / 1.348 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.461, allocations: 58.08 kB / 1.349 GB, free: 6.895 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.0008862/1.461, allocations: 427.5 kB / 1.349 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.462, allocations: 158.1 kB / 1.349 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/1.464, allocations: 1.293 MB / 1.35 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.464, allocations: 16.78 kB / 1.35 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.464, allocations: 0 / 1.35 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/1.466, allocations: 1.245 MB / 1.352 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/1.473, allocations: 3.766 MB / 1.355 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.473, allocations: 10.91 kB / 1.355 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.474, allocations: 251.4 kB / 1.356 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.492e-05/1.474, allocations: 16.72 kB / 1.356 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/1.474, allocations: 36.44 kB / 1.356 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.458e-05/1.474, allocations: 22.95 kB / 1.356 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/1.474, allocations: 15.16 kB / 1.356 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/1.478, allocations: 2.124 MB / 1.358 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/1.479, allocations: 366.8 kB / 1.358 GB, free: 1.801 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/1.479, allocations: 37.05 kB / 1.358 GB, free: 1.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.481, allocations: 95.91 kB / 1.358 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/1.481, allocations: 104.8 kB / 1.358 GB, free: 1.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.481, allocations: 52.44 kB / 1.358 GB, free: 1.715 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001449/1.483, allocations: 0.8529 MB / 1.359 GB, free: 1.387 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.71e-07/1.483, allocations: 0 / 1.359 GB, free: 1.387 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002055/1.485, allocations: 428.2 kB / 1.36 GB, free: 1.352 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.000618/1.485, allocations: 237.6 kB / 1.36 GB, free: 1.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002483/1.488, allocations: 1.422 MB / 1.361 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.488, allocations: 2.406 kB / 1.361 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/1.489, allocations: 0.5544 MB / 1.362 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/1.493, allocations: 0.9463 MB / 1.363 GB, free: 384 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/1.499, allocations: 4.024 MB / 1.367 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.5, allocations: 1.375 MB / 1.368 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001699/1.502, allocations: 386.4 kB / 1.368 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/1.502, allocations: 126.8 kB / 1.368 GB, free: 12.8 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/1.502, allocations: 0 / 1.368 GB, free: 12.8 MB / 1.029 GB Notification: Performance of Templates: time 0.05195/1.554, allocations: 30.25 MB / 1.398 GB, free: 4.387 MB / 1.045 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/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