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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008679/0.0008679, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009677/0.0009679, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7824, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2295/1.012, allocations: 202.8 MB / 1.152 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01729/1.029, allocations: 11.39 MB / 1.164 GB, free: 8.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/1.032, allocations: 59.62 kB / 1.164 GB, free: 8.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/1.034, allocations: 0.5859 MB / 1.164 GB, free: 8.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006724/1.041, allocations: 2.114 MB / 1.166 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003467/1.044, allocations: 1.026 MB / 1.167 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006709/1.051, allocations: 5.144 MB / 1.172 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/1.053, allocations: 1.325 MB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004713/1.058, allocations: 1.941 MB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/1.06, allocations: 1.432 MB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002407/1.061, allocations: 80 kB / 1.177 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/1.064, allocations: 1.06 MB / 1.178 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007826/1.065, allocations: 0.5917 MB / 1.179 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007287/1.066, allocations: 384.7 kB / 1.179 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/1.069, allocations: 2.252 MB / 1.181 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.069, allocations: 0 / 1.181 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/1.069, allocations: 0 / 1.181 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.583e-05/1.069, allocations: 0 / 1.181 GB, free: 6.734 MB / 0.9356 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.003416/1.072, allocations: 1.914 MB / 1.183 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.072, allocations: 11.97 kB / 1.183 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/1.075, allocations: 0.4933 MB / 1.183 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/1.077, allocations: 1.209 MB / 1.185 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/1.077, allocations: 114.7 kB / 1.185 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/1.078, allocations: 144 kB / 1.185 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/1.08, allocations: 1.754 MB / 1.187 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/1.08, allocations: 11.83 kB / 1.187 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.081, allocations: 60 kB / 1.187 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/1.081, allocations: 50.55 kB / 1.187 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/1.083, allocations: 1.392 MB / 1.188 GB, free: 15.36 MB / 0.9512 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.008176/1.091, allocations: 7.32 MB / 1.195 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.092, allocations: 1.043 MB / 1.196 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008991/1.093, allocations: 0.6867 MB / 1.197 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/1.094, allocations: 114.2 kB / 1.197 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/1.094, allocations: 63.48 kB / 1.197 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001142/1.095, allocations: 302.5 kB / 1.197 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=106): time 4.258e-06/1.095, allocations: 4 kB / 1.197 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112): time 0.00787/1.103, allocations: 4.41 MB / 1.202 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.103, allocations: 175.1 kB / 1.202 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/1.104, allocations: 1.247 MB / 1.203 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/1.104, allocations: 53.83 kB / 1.203 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/1.105, allocations: 0.7007 MB / 1.204 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/1.105, allocations: 402.2 kB / 1.204 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/1.105, allocations: 31.94 kB / 1.204 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.106, allocations: 353.9 kB / 1.205 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/1.106, allocations: 0.5153 MB / 1.205 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.107, allocations: 0.8362 MB / 1.206 GB, free: 12.39 MB / 0.9669 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009204/1.117, allocations: 3.489 MB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.117, allocations: 0 / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002779/1.119, allocations: 1.604 MB / 1.211 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.119, allocations: 8 kB / 1.211 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.119, allocations: 8 kB / 1.211 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.12, allocations: 16 kB / 1.211 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.121, allocations: 291.5 kB / 1.211 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.926e-05/1.121, allocations: 19.94 kB / 1.211 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.122, allocations: 117.9 kB / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.122, allocations: 55.98 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008075/1.123, allocations: 430.3 kB / 1.212 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/1.124, allocations: 170 kB / 1.212 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.126, allocations: 1.271 MB / 1.213 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/1.126, allocations: 16.05 kB / 1.213 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.126, allocations: 3.984 kB / 1.213 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/1.128, allocations: 1.221 MB / 1.214 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/1.135, allocations: 3.746 MB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.135, allocations: 12 kB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.136, allocations: 248.5 kB / 1.218 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.281e-05/1.136, allocations: 20 kB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/1.136, allocations: 39.98 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/1.136, allocations: 19.94 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.136, allocations: 19.88 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/1.139, allocations: 2.09 MB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/1.139, allocations: 362.9 kB / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/1.14, allocations: 36 kB / 1.221 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.141, allocations: 91.78 kB / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.141, allocations: 104.3 kB / 1.221 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/1.141, allocations: 51.98 kB / 1.221 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001175/1.142, allocations: 0.8412 MB / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.545e-06/1.142, allocations: 0 / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001557/1.144, allocations: 439.9 kB / 1.222 GB, free: 11.08 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000588/1.144, allocations: 228.7 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002081/1.146, allocations: 1.212 MB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.147, allocations: 4 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007853/1.147, allocations: 0.5329 MB / 1.224 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/1.151, allocations: 0.8999 MB / 1.225 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/1.157, allocations: 4.047 MB / 1.229 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/1.159, allocations: 1.38 MB / 1.23 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001896/1.161, allocations: 381.3 kB / 1.231 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/1.161, allocations: 131.4 kB / 1.231 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of SimCode: time 1.453e-06/1.161, allocations: 0 / 1.231 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of Templates: time 0.5972/1.759, allocations: 27.73 MB / 1.258 GB, free: 275.6 MB / 0.9981 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