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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001303/0.001303, allocations: 108 kB / 15.61 MB, free: 152 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.001652/0.001652, allocations: 195.3 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 68.12 kB / 0.8692 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7271, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2567/0.9838, allocations: 222.6 MB / 1.235 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02064/1.004, allocations: 12.1 MB / 1.246 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/1.008, allocations: 75.56 kB / 1.247 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/1.011, allocations: 0.8615 MB / 1.247 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008345/1.019, allocations: 2.871 MB / 1.25 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/1.023, allocations: 1.418 MB / 1.252 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6151/1.638, allocations: 4.446 MB / 1.256 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/1.641, allocations: 1.705 MB / 1.258 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006037/1.647, allocations: 2.458 MB / 1.26 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/1.651, allocations: 1.552 MB / 1.261 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/1.652, allocations: 179.3 kB / 1.262 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005621/1.657, allocations: 2.168 MB / 1.264 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00163/1.659, allocations: 0.705 MB / 1.264 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002927/1.662, allocations: 1.044 MB / 1.265 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007299/1.669, allocations: 3.274 MB / 1.269 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.669, allocations: 0 / 1.269 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/1.669, allocations: 1.094 kB / 1.269 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.856e-05/1.669, allocations: 1.094 kB / 1.269 GB, free: 4.699 MB / 0.9981 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.006255/1.676, allocations: 2.283 MB / 1.271 GB, free: 19.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.676, allocations: 9.562 kB / 1.271 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/1.68, allocations: 0.4943 MB / 1.271 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/1.682, allocations: 1.249 MB / 1.273 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.682, allocations: 113.1 kB / 1.273 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/1.683, allocations: 151.4 kB / 1.273 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/1.686, allocations: 1.766 MB / 1.275 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/1.686, allocations: 3.594 kB / 1.275 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/1.686, allocations: 62.97 kB / 1.275 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/1.686, allocations: 53.98 kB / 1.275 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/1.688, allocations: 1.404 MB / 1.276 GB, free: 18.77 MB / 1.014 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.009373/1.698, allocations: 7.332 MB / 1.283 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.699, allocations: 1.068 MB / 1.284 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009119/1.7, allocations: 0.6993 MB / 1.285 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/1.7, allocations: 112.5 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/1.701, allocations: 52.47 kB / 1.285 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001385/1.702, allocations: 308.6 kB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.787e-06/1.702, allocations: 0.8125 kB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008285/1.71, allocations: 4.44 MB / 1.29 GB, free: 13.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.71, allocations: 169.4 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.712, allocations: 1.261 MB / 1.291 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/1.712, allocations: 53.77 kB / 1.291 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/1.713, allocations: 0.6996 MB / 1.292 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/1.713, allocations: 403.5 kB / 1.292 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/1.713, allocations: 265.4 kB / 1.293 GB, free: 12.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.713, allocations: 356.3 kB / 1.293 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/1.714, allocations: 0.5266 MB / 1.293 GB, free: 11.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009004/1.715, allocations: 0.8551 MB / 1.294 GB, free: 11.55 MB / 1.014 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.01076/1.726, allocations: 4.802 MB / 1.299 GB, free: 10.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.726, allocations: 2.531 kB / 1.299 GB, free: 10.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002981/1.729, allocations: 1.614 MB / 1.3 GB, free: 10.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.729, allocations: 15.5 kB / 1.301 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.729, allocations: 6.844 kB / 1.301 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/1.729, allocations: 17.78 kB / 1.301 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.73, allocations: 290.3 kB / 1.301 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.73, allocations: 22.16 kB / 1.301 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.732, allocations: 51.16 kB / 1.301 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.732, allocations: 59.78 kB / 1.301 GB, free: 10.77 MB / 1.014 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.0008524/1.733, allocations: 420.6 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/1.733, allocations: 168.9 kB / 1.301 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/1.735, allocations: 1.289 MB / 1.303 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.735, allocations: 12.81 kB / 1.303 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.735, allocations: 6.906 kB / 1.303 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/1.737, allocations: 1.244 MB / 1.304 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005492/1.742, allocations: 3.767 MB / 1.308 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.742, allocations: 8.969 kB / 1.308 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.743, allocations: 244.6 kB / 1.308 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/1.743, allocations: 16.53 kB / 1.308 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/1.744, allocations: 42.09 kB / 1.308 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/1.744, allocations: 24.78 kB / 1.308 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.744, allocations: 13.25 kB / 1.308 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/1.746, allocations: 2.125 MB / 1.31 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008483/1.747, allocations: 365.1 kB / 1.31 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.747, allocations: 36.19 kB / 1.31 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.748, allocations: 47.25 kB / 1.311 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.748, allocations: 101.7 kB / 1.311 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/1.748, allocations: 58.06 kB / 1.311 GB, free: 8.324 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009892/1.749, allocations: 0.852 MB / 1.311 GB, free: 8.215 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.232e-06/1.749, allocations: 0 / 1.311 GB, free: 8.215 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0014/1.751, allocations: 435 kB / 1.312 GB, free: 8.211 MB / 1.014 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.0004935/1.751, allocations: 240 kB / 1.312 GB, free: 8.113 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002217/1.754, allocations: 1.43 MB / 1.314 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.754, allocations: 3.5 kB / 1.314 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006608/1.754, allocations: 0.5501 MB / 1.314 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/1.758, allocations: 0.9376 MB / 1.315 GB, free: 7.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/1.763, allocations: 3.426 MB / 1.318 GB, free: 6.293 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/1.764, allocations: 1.38 MB / 1.32 GB, free: 5.559 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001495/1.765, allocations: 392.3 kB / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/1.766, allocations: 130.6 kB / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of SimCode: time 8.91e-07/1.766, allocations: 0 / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of Templates: time 0.05613/1.822, allocations: 30.39 MB / 1.35 GB, free: 13.23 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches