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.006207/0.006207, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001248/0.001248, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.502/2.502, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.2 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3114, allocations: 140.4 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9894/1.301, allocations: 222.6 MB / 1.305 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0201/1.321, allocations: 12.12 MB / 1.317 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004455/1.325, allocations: 74.16 kB / 1.317 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003263/1.329, allocations: 0.8531 MB / 1.318 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009709/1.339, allocations: 2.869 MB / 1.321 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0044/1.343, allocations: 1.427 MB / 1.322 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00665/1.35, allocations: 4.461 MB / 1.327 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/1.353, allocations: 1.718 MB / 1.328 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/1.362, allocations: 2.507 MB / 1.331 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/1.366, allocations: 1.552 MB / 1.332 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/1.367, allocations: 180.2 kB / 1.332 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007093/1.374, allocations: 2.168 MB / 1.335 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/1.376, allocations: 0.7066 MB / 1.335 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003787/1.38, allocations: 1.04 MB / 1.336 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/1.393, allocations: 3.334 MB / 1.34 GB, free: 1.488 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/1.393, allocations: 0.5625 kB / 1.34 GB, free: 1.488 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.457e-06/1.393, allocations: 0.9375 kB / 1.34 GB, free: 1.488 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001508/1.393, allocations: 0 / 1.34 GB, free: 1.488 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.00675/1.4, allocations: 2.28 MB / 1.342 GB, free: 424 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.4, allocations: 9.438 kB / 1.342 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/1.403, allocations: 0.496 MB / 1.342 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/1.406, allocations: 1.338 MB / 1.344 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/1.406, allocations: 109.4 kB / 1.344 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/1.406, allocations: 156 kB / 1.344 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.409, allocations: 1.76 MB / 1.346 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/1.409, allocations: 12.34 kB / 1.346 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.409, allocations: 60.97 kB / 1.346 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.409, allocations: 49.98 kB / 1.346 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/1.411, allocations: 1.403 MB / 1.347 GB, free: 14.17 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.009063/1.42, allocations: 7.282 MB / 1.354 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/1.422, allocations: 1.049 MB / 1.355 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/1.423, allocations: 0.6924 MB / 1.356 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/1.423, allocations: 120.8 kB / 1.356 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/1.423, allocations: 51.95 kB / 1.356 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/1.425, allocations: 316.4 kB / 1.356 GB, free: 7.988 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.296e-06/1.425, allocations: 4 kB / 1.356 GB, free: 7.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.008048/1.433, allocations: 4.436 MB / 1.361 GB, free: 5.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.433, allocations: 169.7 kB / 1.361 GB, free: 5.402 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.434, allocations: 1.261 MB / 1.362 GB, free: 4.922 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.435, allocations: 51.23 kB / 1.362 GB, free: 4.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/1.435, allocations: 0.7085 MB / 1.363 GB, free: 4.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/1.435, allocations: 398.8 kB / 1.363 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/1.436, allocations: 260.4 kB / 1.363 GB, free: 3.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.436, allocations: 359.4 kB / 1.364 GB, free: 3.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/1.437, allocations: 0.5292 MB / 1.364 GB, free: 3.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.438, allocations: 0.8521 MB / 1.365 GB, free: 2.812 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.01113/1.449, allocations: 4.801 MB / 1.37 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.449, allocations: 3.938 kB / 1.37 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002723/1.452, allocations: 1.619 MB / 1.371 GB, free: 208 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.452, allocations: 8.656 kB / 1.371 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.452, allocations: 10.12 kB / 1.371 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.452, allocations: 13.69 kB / 1.371 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.453, allocations: 294.6 kB / 1.372 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/1.453, allocations: 18.62 kB / 1.372 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.455, allocations: 49.94 kB / 1.372 GB, free: 172 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.455, allocations: 59.69 kB / 1.372 GB, free: 164 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.0009241/1.456, allocations: 439.6 kB / 1.372 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/1.456, allocations: 167.1 kB / 1.372 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/1.458, allocations: 1.289 MB / 1.374 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.458, allocations: 13.34 kB / 1.374 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.458, allocations: 0 / 1.374 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/1.46, allocations: 1.245 MB / 1.375 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/1.466, allocations: 3.765 MB / 1.379 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.466, allocations: 15.25 kB / 1.379 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.467, allocations: 246.8 kB / 1.379 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.467, allocations: 16 kB / 1.379 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/1.467, allocations: 37.75 kB / 1.379 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/1.467, allocations: 25.17 kB / 1.379 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.467, allocations: 15 kB / 1.379 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/1.47, allocations: 2.121 MB / 1.381 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009265/1.471, allocations: 362.8 kB / 1.381 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.471, allocations: 33.62 kB / 1.381 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.473, allocations: 52.38 kB / 1.381 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.473, allocations: 98.75 kB / 1.381 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/1.473, allocations: 57.25 kB / 1.382 GB, free: 10.33 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001237/1.474, allocations: 0.853 MB / 1.382 GB, free: 9.863 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.474, allocations: 0 / 1.382 GB, free: 9.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001929/1.476, allocations: 427.6 kB / 1.383 GB, free: 9.828 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.0006703/1.477, allocations: 253.2 kB / 1.383 GB, free: 9.672 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.479, allocations: 1.245 MB / 1.384 GB, free: 9.145 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.479, allocations: 2.5 kB / 1.384 GB, free: 9.145 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007914/1.48, allocations: 0.5496 MB / 1.385 GB, free: 8.934 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.484, allocations: 0.9272 MB / 1.386 GB, free: 8.445 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/1.49, allocations: 3.399 MB / 1.389 GB, free: 6.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.491, allocations: 1.378 MB / 1.39 GB, free: 5.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001673/1.493, allocations: 385.4 kB / 1.391 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/1.493, allocations: 126.2 kB / 1.391 GB, free: 4.996 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/1.493, allocations: 4 kB / 1.391 GB, free: 4.992 MB / 1.045 GB Notification: Performance of Templates: time 0.05275/1.546, allocations: 31.18 MB / 1.421 GB, free: 7.371 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