Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007503/0.007503, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001655/0.001655, allocations: 188.6 kB / 16.67 MB, free: 6.355 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.02 kB / 0.9509 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.007/1.317, allocations: 222.6 MB / 1.305 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02019/1.337, allocations: 12.12 MB / 1.317 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004343/1.341, allocations: 72.31 kB / 1.317 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003918/1.345, allocations: 0.8802 MB / 1.318 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/1.36, allocations: 2.973 MB / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00521/1.366, allocations: 1.441 MB / 1.322 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008016/1.374, allocations: 4.466 MB / 1.327 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/1.377, allocations: 1.717 MB / 1.328 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007145/1.384, allocations: 2.574 MB / 1.331 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/1.388, allocations: 1.541 MB / 1.332 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009971/1.389, allocations: 183.2 kB / 1.333 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006965/1.396, allocations: 2.177 MB / 1.335 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/1.398, allocations: 0.7008 MB / 1.335 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003366/1.401, allocations: 1.051 MB / 1.336 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007859/1.409, allocations: 3.321 MB / 1.34 GB, free: 1.523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.409, allocations: 3.562 kB / 1.34 GB, free: 1.523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/1.409, allocations: 0 / 1.34 GB, free: 1.523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.355e-05/1.409, allocations: 3.516 kB / 1.34 GB, free: 1.523 MB / 1.014 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.004263/1.413, allocations: 2.275 MB / 1.342 GB, free: 324 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.413, allocations: 9.906 kB / 1.342 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/1.417, allocations: 0.5056 MB / 1.342 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/1.419, allocations: 1.34 MB / 1.344 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/1.419, allocations: 108.1 kB / 1.344 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.419, allocations: 151.9 kB / 1.344 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/1.422, allocations: 1.765 MB / 1.346 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/1.422, allocations: 5.156 kB / 1.346 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/1.422, allocations: 59.53 kB / 1.346 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/1.422, allocations: 50.11 kB / 1.346 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/1.424, allocations: 1.399 MB / 1.347 GB, free: 14.07 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.008393/1.433, allocations: 7.288 MB / 1.354 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/1.434, allocations: 1.046 MB / 1.355 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/1.435, allocations: 0.6909 MB / 1.356 GB, free: 8.184 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/1.435, allocations: 116.8 kB / 1.356 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.435, allocations: 49.28 kB / 1.356 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001288/1.437, allocations: 317.2 kB / 1.356 GB, free: 7.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.747e-06/1.437, allocations: 3.938 kB / 1.356 GB, free: 7.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.008244/1.445, allocations: 4.438 MB / 1.361 GB, free: 5.492 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/1.445, allocations: 170.8 kB / 1.361 GB, free: 5.297 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.447, allocations: 1.261 MB / 1.362 GB, free: 4.816 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/1.447, allocations: 49.08 kB / 1.362 GB, free: 4.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/1.447, allocations: 0.7085 MB / 1.363 GB, free: 4.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/1.448, allocations: 394.9 kB / 1.363 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/1.448, allocations: 264 kB / 1.364 GB, free: 3.797 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.448, allocations: 359.6 kB / 1.364 GB, free: 3.469 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008351/1.449, allocations: 0.5252 MB / 1.364 GB, free: 3.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.45, allocations: 0.853 MB / 1.365 GB, free: 2.715 MB / 1.029 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.01294/1.463, allocations: 4.802 MB / 1.37 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.463, allocations: 2.625 kB / 1.37 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003254/1.466, allocations: 1.623 MB / 1.372 GB, free: 104 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/1.466, allocations: 7.344 kB / 1.372 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.466, allocations: 8.5 kB / 1.372 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.511e-05/1.467, allocations: 15.81 kB / 1.372 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.468, allocations: 293.6 kB / 1.372 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/1.468, allocations: 18.91 kB / 1.372 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.469, allocations: 48.36 kB / 1.372 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.47, allocations: 67.23 kB / 1.372 GB, free: 56 kB / 1.029 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.0008943/1.47, allocations: 436.7 kB / 1.372 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/1.471, allocations: 162.3 kB / 1.373 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/1.473, allocations: 1.286 MB / 1.374 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.473, allocations: 15.91 kB / 1.374 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.473, allocations: 7.219 kB / 1.374 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/1.474, allocations: 1.243 MB / 1.375 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/1.48, allocations: 3.764 MB / 1.379 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.48, allocations: 10.03 kB / 1.379 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.481, allocations: 249 kB / 1.379 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.481, allocations: 13.28 kB / 1.379 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/1.481, allocations: 35.56 kB / 1.379 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.482, allocations: 24.77 kB / 1.379 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.482, allocations: 15.66 kB / 1.379 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/1.484, allocations: 2.119 MB / 1.381 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/1.485, allocations: 365 kB / 1.381 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.485, allocations: 37.62 kB / 1.382 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.487, allocations: 51 kB / 1.382 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.487, allocations: 102.3 kB / 1.382 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/1.487, allocations: 49.27 kB / 1.382 GB, free: 10.21 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001123/1.488, allocations: 0.858 MB / 1.383 GB, free: 9.738 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.488, allocations: 0 / 1.383 GB, free: 9.738 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001649/1.49, allocations: 432.5 kB / 1.383 GB, free: 9.699 MB / 1.045 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.0006321/1.49, allocations: 248.3 kB / 1.383 GB, free: 9.547 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002541/1.493, allocations: 1.25 MB / 1.384 GB, free: 9.008 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/1.493, allocations: 2.375 kB / 1.384 GB, free: 9.008 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008344/1.494, allocations: 0.5505 MB / 1.385 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.498, allocations: 0.9245 MB / 1.386 GB, free: 8.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/1.503, allocations: 3.401 MB / 1.389 GB, free: 6.059 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/1.504, allocations: 1.375 MB / 1.391 GB, free: 5.051 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001596/1.506, allocations: 393.9 kB / 1.391 GB, free: 4.875 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.506, allocations: 126.2 kB / 1.391 GB, free: 4.859 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/1.506, allocations: 0 / 1.391 GB, free: 4.859 MB / 1.045 GB Notification: Performance of Templates: time 0.05406/1.56, allocations: 30.65 MB / 1.421 GB, free: 7.672 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches