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.00142/0.00142, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001823/0.001823, allocations: 189.3 kB / 16.25 MB, free: 6.152 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.467/2.467, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7628, allocations: 140.4 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2477/1.011, allocations: 219.8 MB / 1.164 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01923/1.03, allocations: 12.03 MB / 1.175 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/1.033, allocations: 67.56 kB / 1.176 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/1.036, allocations: 0.7382 MB / 1.176 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008896/1.045, allocations: 2.684 MB / 1.179 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/1.049, allocations: 1.307 MB / 1.18 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007247/1.057, allocations: 4.455 MB / 1.185 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/1.06, allocations: 1.682 MB / 1.186 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007127/1.067, allocations: 2.448 MB / 1.189 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004302/1.071, allocations: 1.633 MB / 1.19 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005625/1.072, allocations: 184 kB / 1.19 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006052/1.078, allocations: 2.276 MB / 1.193 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/1.079, allocations: 0.7051 MB / 1.193 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001961/1.081, allocations: 1.046 MB / 1.194 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007119/1.088, allocations: 3.42 MB / 1.198 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.088, allocations: 0 / 1.198 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.405e-06/1.088, allocations: 4 kB / 1.198 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.216e-05/1.088, allocations: 0 / 1.198 GB, free: 2.676 MB / 0.9512 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.005043/1.093, allocations: 2.276 MB / 1.2 GB, free: 352 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/1.093, allocations: 12.03 kB / 1.2 GB, free: 340 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/1.097, allocations: 0.5011 MB / 1.2 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/1.1, allocations: 1.259 MB / 1.202 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/1.1, allocations: 110.8 kB / 1.202 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/1.1, allocations: 144 kB / 1.202 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/1.103, allocations: 1.758 MB / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/1.103, allocations: 7.938 kB / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.103, allocations: 60 kB / 1.204 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-05/1.103, allocations: 54.53 kB / 1.204 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/1.106, allocations: 1.399 MB / 1.205 GB, free: 10.87 MB / 0.9669 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.009809/1.115, allocations: 7.309 MB / 1.212 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/1.117, allocations: 1.043 MB / 1.213 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009717/1.118, allocations: 0.6906 MB / 1.214 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/1.118, allocations: 118.2 kB / 1.214 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.118, allocations: 55.48 kB / 1.214 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001479/1.12, allocations: 314.5 kB / 1.214 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 4.228e-06/1.12, allocations: 0 / 1.214 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=112): time 0.00866/1.129, allocations: 4.438 MB / 1.219 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.129, allocations: 175.2 kB / 1.219 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/1.13, allocations: 1.271 MB / 1.22 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.131, allocations: 53.64 kB / 1.22 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000576/1.131, allocations: 0.6969 MB / 1.221 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/1.132, allocations: 406.1 kB / 1.221 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/1.132, allocations: 259.4 kB / 1.221 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.132, allocations: 361.9 kB / 1.222 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/1.133, allocations: 0.527 MB / 1.222 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.134, allocations: 0.8553 MB / 1.223 GB, free: 7.586 MB / 0.9825 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.01182/1.146, allocations: 4.805 MB / 1.228 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.146, allocations: 4 kB / 1.228 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002787/1.149, allocations: 1.612 MB / 1.229 GB, free: 1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.149, allocations: 8 kB / 1.229 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.149, allocations: 8 kB / 1.229 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.149, allocations: 12.78 kB / 1.229 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.15, allocations: 295.5 kB / 1.23 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/1.15, allocations: 23.92 kB / 1.23 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.152, allocations: 113.3 kB / 1.23 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.152, allocations: 55.98 kB / 1.23 GB, free: 0.4961 MB / 0.9825 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.0008058/1.153, allocations: 426.6 kB / 1.23 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/1.153, allocations: 170.2 kB / 1.23 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/1.155, allocations: 1.295 MB / 1.232 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.155, allocations: 12 kB / 1.232 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.155, allocations: 8 kB / 1.232 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/1.157, allocations: 1.241 MB / 1.233 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/1.163, allocations: 3.774 MB / 1.237 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.163, allocations: 8 kB / 1.237 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.164, allocations: 239.7 kB / 1.237 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/1.164, allocations: 16 kB / 1.237 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/1.164, allocations: 43.92 kB / 1.237 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/1.164, allocations: 23.88 kB / 1.237 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.164, allocations: 15.88 kB / 1.237 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.167, allocations: 2.129 MB / 1.239 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007265/1.168, allocations: 355 kB / 1.239 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.168, allocations: 43.92 kB / 1.239 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.169, allocations: 93.75 kB / 1.239 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.169, allocations: 96.31 kB / 1.24 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/1.169, allocations: 51.98 kB / 1.24 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001176/1.17, allocations: 0.8529 MB / 1.24 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 1.24 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001442/1.172, allocations: 435.9 kB / 1.241 GB, free: 4.742 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.0005616/1.172, allocations: 248.7 kB / 1.241 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002616/1.175, allocations: 1.425 MB / 1.243 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.175, allocations: 7.938 kB / 1.243 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/1.176, allocations: 0.5487 MB / 1.243 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/1.18, allocations: 0.9227 MB / 1.244 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5213/1.701, allocations: 4.02 MB / 1.248 GB, free: 283 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.702, allocations: 1.377 MB / 1.249 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001977/1.704, allocations: 389.7 kB / 1.25 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/1.705, allocations: 125.3 kB / 1.25 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.705, allocations: 0 / 1.25 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06011/1.765, allocations: 30.25 MB / 1.279 GB, free: 269.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