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.001482/0.001483, allocations: 108 kB / 15.61 MB, free: 148 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.001693/0.001693, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.557/2.557, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.88 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7893, allocations: 140.3 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.246/1.035, allocations: 222.6 MB / 1.167 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01967/1.055, allocations: 12.12 MB / 1.179 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/1.059, allocations: 75.56 kB / 1.179 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003173/1.062, allocations: 0.8499 MB / 1.18 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008549/1.071, allocations: 2.87 MB / 1.182 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/1.075, allocations: 1.429 MB / 1.184 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005894/1.081, allocations: 4.449 MB / 1.188 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/1.083, allocations: 1.713 MB / 1.19 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006101/1.09, allocations: 2.461 MB / 1.192 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/1.093, allocations: 1.545 MB / 1.194 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004644/1.093, allocations: 180 kB / 1.194 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/1.098, allocations: 2.159 MB / 1.196 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008053/1.099, allocations: 0.7129 MB / 1.197 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/1.1, allocations: 1.042 MB / 1.198 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005147/1.106, allocations: 3.276 MB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.106, allocations: 4 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/1.106, allocations: 0 / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.315e-05/1.106, allocations: 0 / 1.201 GB, free: 15.48 MB / 0.9669 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.003766/1.109, allocations: 2.28 MB / 1.203 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.109, allocations: 12.03 kB / 1.203 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/1.113, allocations: 0.4933 MB / 1.204 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/1.115, allocations: 1.255 MB / 1.205 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.836e-05/1.115, allocations: 110.8 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/1.115, allocations: 144 kB / 1.205 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.118, allocations: 1.764 MB / 1.207 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/1.118, allocations: 11.94 kB / 1.207 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/1.118, allocations: 60 kB / 1.207 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/1.118, allocations: 58.53 kB / 1.207 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/1.12, allocations: 1.399 MB / 1.208 GB, free: 7.664 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.008834/1.129, allocations: 7.339 MB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.131, allocations: 1.047 MB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009005/1.132, allocations: 0.6906 MB / 1.217 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/1.132, allocations: 114.1 kB / 1.217 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/1.132, allocations: 59.55 kB / 1.217 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001228/1.133, allocations: 294.8 kB / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 4.458e-06/1.133, allocations: 0 / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.008133/1.141, allocations: 4.45 MB / 1.222 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/1.141, allocations: 179.1 kB / 1.222 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/1.143, allocations: 1.259 MB / 1.223 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.143, allocations: 53.83 kB / 1.224 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/1.144, allocations: 0.7046 MB / 1.224 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/1.144, allocations: 398.2 kB / 1.225 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/1.144, allocations: 267.4 kB / 1.225 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.145, allocations: 353.9 kB / 1.225 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/1.145, allocations: 0.5231 MB / 1.226 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.146, allocations: 0.8631 MB / 1.227 GB, free: 4.359 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.01208/1.158, allocations: 4.808 MB / 1.231 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.159, allocations: 4 kB / 1.231 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003117/1.162, allocations: 1.612 MB / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/1.162, allocations: 10.03 kB / 1.233 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.162, allocations: 8 kB / 1.233 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.351e-05/1.162, allocations: 16 kB / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.163, allocations: 291.5 kB / 1.233 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/1.163, allocations: 15.94 kB / 1.233 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.165, allocations: 61.44 kB / 1.233 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.165, allocations: 60.06 kB / 1.233 GB, free: 13.32 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 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.0009057/1.166, allocations: 430.8 kB / 1.234 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/1.166, allocations: 166 kB / 1.234 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/1.168, allocations: 1.291 MB / 1.235 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.168, allocations: 12 kB / 1.235 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.168, allocations: 0 / 1.235 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0016/1.17, allocations: 1.248 MB / 1.236 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/1.176, allocations: 3.758 MB / 1.24 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.176, allocations: 16 kB / 1.24 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.177, allocations: 247.6 kB / 1.24 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/1.177, allocations: 16 kB / 1.24 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.971e-05/1.177, allocations: 43.86 kB / 1.24 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/1.177, allocations: 19.94 kB / 1.24 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.177, allocations: 15.98 kB / 1.24 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/1.18, allocations: 2.129 MB / 1.242 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007427/1.181, allocations: 355 kB / 1.243 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/1.181, allocations: 47.92 kB / 1.243 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.182, allocations: 49.94 kB / 1.243 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.182, allocations: 96.31 kB / 1.243 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-05/1.182, allocations: 51.98 kB / 1.243 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001161/1.183, allocations: 0.8529 MB / 1.244 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.183, allocations: 0 / 1.244 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001501/1.185, allocations: 432 kB / 1.244 GB, free: 1.617 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.0005491/1.185, allocations: 238.3 kB / 1.244 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5427/1.728, allocations: 1.425 MB / 1.246 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/1.728, allocations: 2.344 kB / 1.246 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/1.73, allocations: 0.5515 MB / 1.246 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005201/1.735, allocations: 0.929 MB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/1.741, allocations: 3.441 MB / 1.251 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.742, allocations: 1.372 MB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002213/1.744, allocations: 390.4 kB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/1.745, allocations: 133 kB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.745, allocations: 0 / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0543/1.799, allocations: 30.37 MB / 1.282 GB, free: 269.4 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