Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.971/1.971, allocations: 390.4 MB / 397.7 MB, free: 1.961 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 185.3 kB / 490.8 MB, free: 7.551 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.3 MB / 0.7863 GB, free: 304 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 88.67 kB / 0.9264 GB, free: 0.6758 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 0 / 1.072 GB, free: 137.6 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3359, allocations: 143 MB / 1.212 GB, free: 10.65 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.103/5.439, allocations: 1.931 GB / 3.142 GB, free: 300.2 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/5.439, allocations: 86.06 kB / 3.142 GB, free: 300.1 MB / 1.159 GB Notification: Performance of FrontEnd: time 3.553/8.993, allocations: 1.113 GB / 4.255 GB, free: 51.77 MB / 1.175 GB Notification: Performance of Transformations before backend: time 0.0002479/8.993, allocations: 57.23 kB / 4.255 GB, free: 51.71 MB / 1.175 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.006147/8.999, allocations: 1.879 MB / 4.257 GB, free: 49.79 MB / 1.175 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/8.999, allocations: 12.03 kB / 4.257 GB, free: 49.78 MB / 1.175 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/9.003, allocations: 0.5167 MB / 4.257 GB, free: 49.26 MB / 1.175 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/9.008, allocations: 1.602 MB / 4.259 GB, free: 47.6 MB / 1.175 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/9.008, allocations: 48 kB / 4.259 GB, free: 47.55 MB / 1.175 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/9.008, allocations: 84 kB / 4.259 GB, free: 47.47 MB / 1.175 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002922/9.011, allocations: 1.239 MB / 4.26 GB, free: 46.23 MB / 1.175 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/9.015, allocations: 1.502 MB / 4.262 GB, free: 44.62 MB / 1.175 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/9.015, allocations: 15.83 kB / 4.262 GB, free: 44.6 MB / 1.175 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/9.015, allocations: 11.98 kB / 4.262 GB, free: 44.59 MB / 1.175 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/9.015, allocations: 50.55 kB / 4.262 GB, free: 44.54 MB / 1.175 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009214/9.024, allocations: 7.342 MB / 4.269 GB, free: 36.83 MB / 1.175 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/9.025, allocations: 0.7287 MB / 4.27 GB, free: 36.06 MB / 1.175 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/9.026, allocations: 0.6522 MB / 4.27 GB, free: 35.39 MB / 1.175 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/9.026, allocations: 114.1 kB / 4.27 GB, free: 35.26 MB / 1.175 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/9.026, allocations: 51.56 kB / 4.27 GB, free: 35.2 MB / 1.175 GB Notification: Performance of pre-optimization done (n=106): time 3.566e-06/9.026, allocations: 0 / 4.27 GB, free: 35.2 MB / 1.175 GB Notification: Performance of matching and sorting (n=112): time 0.007465/9.034, allocations: 3.625 MB / 4.274 GB, free: 31.51 MB / 1.175 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/9.034, allocations: 171.3 kB / 4.274 GB, free: 31.3 MB / 1.175 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/9.035, allocations: 0.7948 MB / 4.275 GB, free: 30.5 MB / 1.175 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/9.035, allocations: 29.7 kB / 4.275 GB, free: 30.46 MB / 1.175 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/9.035, allocations: 0.5232 MB / 4.275 GB, free: 29.93 MB / 1.175 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/9.036, allocations: 382.3 kB / 4.276 GB, free: 29.55 MB / 1.175 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/9.036, allocations: 3.938 kB / 4.276 GB, free: 29.55 MB / 1.175 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/9.036, allocations: 353.9 kB / 4.276 GB, free: 29.2 MB / 1.175 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/9.037, allocations: 490.5 kB / 4.277 GB, free: 28.71 MB / 1.175 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/9.037, allocations: 0.7979 MB / 4.277 GB, free: 27.78 MB / 1.175 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.01946/9.057, allocations: 4.182 MB / 4.281 GB, free: 23.55 MB / 1.175 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/9.057, allocations: 4 kB / 4.281 GB, free: 23.54 MB / 1.175 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002759/9.06, allocations: 1.432 MB / 4.283 GB, free: 22.11 MB / 1.175 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/9.06, allocations: 7.984 kB / 4.283 GB, free: 22.1 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/9.06, allocations: 11.94 kB / 4.283 GB, free: 22.09 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.135e-05/9.06, allocations: 20.03 kB / 4.283 GB, free: 22.07 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/9.061, allocations: 279.5 kB / 4.283 GB, free: 21.79 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.612e-05/9.061, allocations: 19.94 kB / 4.283 GB, free: 21.77 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/9.063, allocations: 87.61 kB / 4.283 GB, free: 21.69 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/9.063, allocations: 59.98 kB / 4.283 GB, free: 21.63 MB / 1.175 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.00033/9.063, allocations: 143.8 kB / 4.283 GB, free: 21.48 MB / 1.175 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/9.064, allocations: 142.3 kB / 4.284 GB, free: 21.34 MB / 1.175 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/9.066, allocations: 1.169 MB / 4.285 GB, free: 20.17 MB / 1.175 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/9.066, allocations: 12 kB / 4.285 GB, free: 20.16 MB / 1.175 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/9.066, allocations: 0 / 4.285 GB, free: 20.16 MB / 1.175 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/9.067, allocations: 1.161 MB / 4.286 GB, free: 18.93 MB / 1.175 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/9.074, allocations: 3.508 MB / 4.289 GB, free: 15.24 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/9.074, allocations: 12 kB / 4.289 GB, free: 15.23 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/9.075, allocations: 240.6 kB / 4.289 GB, free: 14.99 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/9.075, allocations: 20 kB / 4.289 GB, free: 14.97 MB / 1.175 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/9.075, allocations: 23.98 kB / 4.289 GB, free: 14.95 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/9.075, allocations: 23.88 kB / 4.29 GB, free: 14.93 MB / 1.175 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/9.075, allocations: 15.94 kB / 4.29 GB, free: 14.91 MB / 1.175 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00248/9.077, allocations: 2.573 MB / 4.292 GB, free: 11.99 MB / 1.175 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/9.078, allocations: 331.3 kB / 4.292 GB, free: 11.65 MB / 1.175 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/9.079, allocations: 23.98 kB / 4.292 GB, free: 11.62 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/9.08, allocations: 71.7 kB / 4.292 GB, free: 11.55 MB / 1.175 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/9.08, allocations: 84.41 kB / 4.293 GB, free: 11.47 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.957e-05/9.08, allocations: 59.89 kB / 4.293 GB, free: 11.41 MB / 1.175 GB Notification: Performance of sort global known variables: time 0.0008083/9.081, allocations: 0.5884 MB / 4.293 GB, free: 10.82 MB / 1.175 GB Notification: Performance of remove unused functions: time 0.002058/9.083, allocations: 0.5238 MB / 4.294 GB, free: 10.3 MB / 1.175 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 () * 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.002929/9.086, allocations: 2.332 MB / 4.296 GB, free: 7.848 MB / 1.175 GB Notification: Performance of simCode: created initialization part: time 0.002057/9.088, allocations: 1.139 MB / 4.297 GB, free: 6.707 MB / 1.175 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/9.088, allocations: 7.938 kB / 4.297 GB, free: 6.699 MB / 1.175 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/9.089, allocations: 0.5212 MB / 4.298 GB, free: 6.18 MB / 1.175 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/9.093, allocations: 0.6787 MB / 4.298 GB, free: 5.508 MB / 1.175 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/9.098, allocations: 2.749 MB / 4.301 GB, free: 2.578 MB / 1.175 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/9.1, allocations: 1.538 MB / 4.302 GB, free: 1.008 MB / 1.175 GB Notification: Performance of SimCode: time 9.02e-07/9.1, allocations: 4 kB / 4.302 GB, free: 1.004 MB / 1.175 GB Notification: Performance of Templates: time 0.6168/9.716, allocations: 35.91 MB / 4.338 GB, free: 207.7 MB / 1.206 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches