Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001025/0.001025, allocations: 98.88 kB / 16.02 MB, free: 76 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.001172/0.001172, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004544, allocations: 8 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7868, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2575/1.044, allocations: 217.4 MB / 1.236 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7087/1.753, allocations: 12.08 MB / 1.248 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/1.757, allocations: 63.28 kB / 1.248 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/1.76, allocations: 0.7136 MB / 1.248 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00969/1.77, allocations: 2.692 MB / 1.251 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.774, allocations: 1.291 MB / 1.252 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01278/1.787, allocations: 6.088 MB / 1.258 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003758/1.791, allocations: 1.446 MB / 1.26 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007928/1.799, allocations: 2.145 MB / 1.262 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005299/1.804, allocations: 1.532 MB / 1.263 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006272/1.805, allocations: 77.16 kB / 1.263 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007253/1.812, allocations: 2.447 MB / 1.266 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001658/1.814, allocations: 0.5927 MB / 1.266 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/1.817, allocations: 0.9365 MB / 1.267 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004891/1.822, allocations: 2.405 MB / 1.27 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.822, allocations: 1.859 kB / 1.27 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.055e-06/1.822, allocations: 0 / 1.27 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.689e-05/1.822, allocations: 1.625 kB / 1.27 GB, free: 1.629 MB / 0.9825 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.005265/1.827, allocations: 1.897 MB / 1.271 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.827, allocations: 9.094 kB / 1.271 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/1.831, allocations: 0.4972 MB / 1.272 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/1.833, allocations: 1.253 MB / 1.273 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.834, allocations: 110.3 kB / 1.273 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/1.834, allocations: 153.3 kB / 1.273 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/1.837, allocations: 1.759 MB / 1.275 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/1.837, allocations: 5.844 kB / 1.275 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.837, allocations: 66.25 kB / 1.275 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.113e-05/1.837, allocations: 48.8 kB / 1.275 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.839, allocations: 1.399 MB / 1.277 GB, free: 15.72 MB / 0.9981 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.009471/1.848, allocations: 7.326 MB / 1.284 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.85, allocations: 1.046 MB / 1.285 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009513/1.851, allocations: 0.6974 MB / 1.286 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/1.851, allocations: 111 kB / 1.286 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/1.851, allocations: 47.69 kB / 1.286 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001603/1.853, allocations: 314.9 kB / 1.286 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 4.378e-06/1.853, allocations: 0 / 1.286 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.008304/1.861, allocations: 4.415 MB / 1.29 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/1.861, allocations: 176.8 kB / 1.29 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.863, allocations: 1.261 MB / 1.292 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.863, allocations: 53.48 kB / 1.292 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/1.864, allocations: 0.7055 MB / 1.292 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/1.864, allocations: 399.7 kB / 1.293 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.864, allocations: 124.1 kB / 1.293 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.864, allocations: 358.2 kB / 1.293 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/1.865, allocations: 0.5157 MB / 1.294 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.866, allocations: 0.8437 MB / 1.295 GB, free: 8.449 MB / 0.9981 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.01144/1.878, allocations: 4.769 MB / 1.299 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.878, allocations: 3.156 kB / 1.299 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002784/1.88, allocations: 1.599 MB / 1.301 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.88, allocations: 12.34 kB / 1.301 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.88, allocations: 11.91 kB / 1.301 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/1.88, allocations: 14.88 kB / 1.301 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.882, allocations: 285.9 kB / 1.301 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/1.882, allocations: 20.83 kB / 1.301 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.884, allocations: 109.8 kB / 1.301 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.884, allocations: 63.22 kB / 1.301 GB, free: 7.59 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0009353/1.885, allocations: 418.8 kB / 1.302 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/1.885, allocations: 167.4 kB / 1.302 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.887, allocations: 1.281 MB / 1.303 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.887, allocations: 11.62 kB / 1.303 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.887, allocations: 4 kB / 1.303 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/1.889, allocations: 1.233 MB / 1.304 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/1.895, allocations: 3.746 MB / 1.308 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.895, allocations: 8.672 kB / 1.308 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.896, allocations: 249.7 kB / 1.308 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/1.896, allocations: 14.81 kB / 1.308 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/1.896, allocations: 44.36 kB / 1.308 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-05/1.896, allocations: 20.33 kB / 1.308 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/1.896, allocations: 18.48 kB / 1.308 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/1.898, allocations: 2.105 MB / 1.31 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007839/1.899, allocations: 363.5 kB / 1.311 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.899, allocations: 35.36 kB / 1.311 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.901, allocations: 93.27 kB / 1.311 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.901, allocations: 97.86 kB / 1.311 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/1.901, allocations: 54.56 kB / 1.311 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001126/1.902, allocations: 0.8544 MB / 1.312 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.902, allocations: 0 / 1.312 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00162/1.904, allocations: 434 kB / 1.312 GB, free: 4.949 MB / 0.9981 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.0005878/1.904, allocations: 241.7 kB / 1.312 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002052/1.906, allocations: 1.21 MB / 1.314 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.906, allocations: 7.656 kB / 1.314 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/1.907, allocations: 0.5392 MB / 1.314 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006429/1.914, allocations: 0.8942 MB / 1.315 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/1.92, allocations: 4.226 MB / 1.319 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.921, allocations: 1.368 MB / 1.321 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/1.922, allocations: 134.5 kB / 1.321 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.922, allocations: 0 / 1.321 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of Templates: time 0.04307/1.965, allocations: 24.89 MB / 1.345 GB, free: 6.117 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches