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.001501/0.001501, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001611/0.001611, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 62.19 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2538, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7446/0.9984, allocations: 222.6 MB / 1.168 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01836/1.017, allocations: 12.11 MB / 1.18 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/1.02, allocations: 74.56 kB / 1.18 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/1.023, allocations: 0.8543 MB / 1.181 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008656/1.032, allocations: 2.862 MB / 1.184 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004186/1.036, allocations: 1.446 MB / 1.185 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007126/1.043, allocations: 4.453 MB / 1.19 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/1.046, allocations: 1.719 MB / 1.191 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006264/1.052, allocations: 2.468 MB / 1.194 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/1.056, allocations: 1.551 MB / 1.195 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/1.056, allocations: 183.8 kB / 1.196 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/1.061, allocations: 2.166 MB / 1.198 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007524/1.062, allocations: 0.7128 MB / 1.198 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.063, allocations: 1.04 MB / 1.199 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005355/1.069, allocations: 3.324 MB / 1.203 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.069, allocations: 0 / 1.203 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.883e-06/1.069, allocations: 0 / 1.203 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.653e-05/1.069, allocations: 0 / 1.203 GB, free: 2.191 MB / 0.8731 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.003938/1.073, allocations: 2.283 MB / 1.205 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.073, allocations: 12.48 kB / 1.205 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/1.076, allocations: 0.493 MB / 1.205 GB, free: 340 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/1.078, allocations: 1.339 MB / 1.207 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/1.079, allocations: 117.8 kB / 1.207 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/1.079, allocations: 146.7 kB / 1.207 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/1.081, allocations: 1.758 MB / 1.209 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/1.081, allocations: 6.375 kB / 1.209 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.082, allocations: 62.55 kB / 1.209 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/1.082, allocations: 50.27 kB / 1.209 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/1.084, allocations: 1.398 MB / 1.21 GB, free: 13.35 MB / 0.8887 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.01046/1.094, allocations: 7.285 MB / 1.217 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.096, allocations: 1.056 MB / 1.218 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008877/1.097, allocations: 0.6975 MB / 1.219 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/1.097, allocations: 116 kB / 1.219 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.097, allocations: 51.38 kB / 1.219 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001264/1.099, allocations: 308 kB / 1.219 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=106): time 3.517e-06/1.099, allocations: 0 / 1.219 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112): time 0.007902/1.106, allocations: 4.445 MB / 1.224 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/1.107, allocations: 167.2 kB / 1.224 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.108, allocations: 1.265 MB / 1.225 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.108, allocations: 51.8 kB / 1.225 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/1.109, allocations: 0.6947 MB / 1.226 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/1.109, allocations: 403.3 kB / 1.226 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/1.109, allocations: 263.1 kB / 1.226 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.11, allocations: 362.5 kB / 1.227 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008393/1.11, allocations: 0.5269 MB / 1.227 GB, free: 444 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.112, allocations: 0.8613 MB / 1.228 GB, free: 15.77 MB / 0.9044 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.01124/1.123, allocations: 4.793 MB / 1.233 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.123, allocations: 2.844 kB / 1.233 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002549/1.125, allocations: 1.615 MB / 1.234 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.125, allocations: 8 kB / 1.234 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.125, allocations: 8 kB / 1.234 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/1.125, allocations: 16 kB / 1.234 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.127, allocations: 291.5 kB / 1.235 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.127, allocations: 19.94 kB / 1.235 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.128, allocations: 63.81 kB / 1.235 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.128, allocations: 56.23 kB / 1.235 GB, free: 11.3 MB / 0.9044 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.0008694/1.129, allocations: 427.9 kB / 1.235 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/1.13, allocations: 166 kB / 1.235 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.132, allocations: 1.287 MB / 1.237 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/1.132, allocations: 15.98 kB / 1.237 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.132, allocations: 4 kB / 1.237 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/1.134, allocations: 1.248 MB / 1.238 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007104/1.141, allocations: 3.767 MB / 1.242 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/1.141, allocations: 8 kB / 1.242 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.142, allocations: 243.6 kB / 1.242 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/1.142, allocations: 16 kB / 1.242 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/1.142, allocations: 43.92 kB / 1.242 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/1.142, allocations: 19.94 kB / 1.242 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.142, allocations: 11.94 kB / 1.242 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/1.145, allocations: 2.133 MB / 1.244 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009899/1.146, allocations: 355 kB / 1.244 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.146, allocations: 47.86 kB / 1.244 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.148, allocations: 47.97 kB / 1.244 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.148, allocations: 100.3 kB / 1.245 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/1.148, allocations: 47.98 kB / 1.245 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001224/1.149, allocations: 0.8529 MB / 1.245 GB, free: 56 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.149, allocations: 0 / 1.245 GB, free: 56 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001459/1.15, allocations: 436 kB / 1.246 GB, free: 15.62 MB / 0.92 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.0005444/1.151, allocations: 255.1 kB / 1.246 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.153, allocations: 1.254 MB / 1.247 GB, free: 14.13 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.153, allocations: 0 / 1.247 GB, free: 14.13 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/1.154, allocations: 0.5527 MB / 1.248 GB, free: 13.59 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/1.158, allocations: 0.9218 MB / 1.249 GB, free: 12.69 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/1.163, allocations: 3.397 MB / 1.252 GB, free: 9.125 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.164, allocations: 1.372 MB / 1.253 GB, free: 7.727 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001562/1.166, allocations: 393.3 kB / 1.254 GB, free: 7.336 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/1.167, allocations: 131.3 kB / 1.254 GB, free: 7.207 MB / 0.92 GB Notification: Performance of SimCode: time 1.102e-06/1.167, allocations: 0 / 1.254 GB, free: 7.207 MB / 0.92 GB Notification: Performance of Templates: time 0.05824/1.225, allocations: 30.34 MB / 1.284 GB, free: 9.324 MB / 0.9512 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches