Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 181.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007743/0.0007742, allocations: 79.39 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.622/3.771, allocations: 2.204 GB / 3.088 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/3.771, allocations: 83.95 kB / 3.088 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.791/6.562, allocations: 1.064 GB / 4.153 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001067/6.562, allocations: 51.52 kB / 4.153 GB, free: 99.71 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.003192/6.566, allocations: 1.887 MB / 4.155 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/6.566, allocations: 8.031 kB / 4.155 GB, free: 97.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/6.568, allocations: 0.5321 MB / 4.155 GB, free: 97.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/6.571, allocations: 1.567 MB / 4.157 GB, free: 95.67 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/6.571, allocations: 47.91 kB / 4.157 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/6.571, allocations: 91.94 kB / 4.157 GB, free: 95.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/6.573, allocations: 1.236 MB / 4.158 GB, free: 94.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/6.575, allocations: 1.52 MB / 4.16 GB, free: 92.67 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/6.575, allocations: 11.89 kB / 4.16 GB, free: 92.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/6.575, allocations: 4 kB / 4.16 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/6.575, allocations: 54.59 kB / 4.16 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/6.582, allocations: 7.162 MB / 4.167 GB, free: 85.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/6.583, allocations: 0.7447 MB / 4.167 GB, free: 84.36 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/6.583, allocations: 0.6483 MB / 4.168 GB, free: 83.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/6.584, allocations: 117.5 kB / 4.168 GB, free: 83.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/6.584, allocations: 55.56 kB / 4.168 GB, free: 83.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=106): time 3.015e-06/6.584, allocations: 0 / 4.168 GB, free: 83.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.005695/6.589, allocations: 3.619 MB / 4.172 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/6.589, allocations: 171.3 kB / 4.172 GB, free: 79.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/6.59, allocations: 0.8026 MB / 4.173 GB, free: 78.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/6.59, allocations: 29.7 kB / 4.173 GB, free: 78.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/6.591, allocations: 0.5284 MB / 4.173 GB, free: 78.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/6.591, allocations: 378.3 kB / 4.174 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/6.591, allocations: 0 / 4.174 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/6.591, allocations: 365.8 kB / 4.174 GB, free: 77.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/6.591, allocations: 478.5 kB / 4.174 GB, free: 77.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/6.592, allocations: 0.7978 MB / 4.175 GB, free: 76.09 MB / 0.8698 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.01773/6.61, allocations: 4.085 MB / 4.179 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/6.61, allocations: 4 kB / 4.179 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00195/6.612, allocations: 1.412 MB / 4.181 GB, free: 70.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/6.612, allocations: 13.97 kB / 4.181 GB, free: 70.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/6.612, allocations: 11.91 kB / 4.181 GB, free: 70.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/6.612, allocations: 16 kB / 4.181 GB, free: 70.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/6.613, allocations: 287.5 kB / 4.181 GB, free: 70.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/6.613, allocations: 20.41 kB / 4.181 GB, free: 70.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/6.615, allocations: 67.7 kB / 4.181 GB, free: 70.13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/6.615, allocations: 59.97 kB / 4.181 GB, free: 70.07 MB / 0.8698 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.0002393/6.615, allocations: 150 kB / 4.181 GB, free: 69.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/6.615, allocations: 138.3 kB / 4.181 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/6.617, allocations: 1.165 MB / 4.182 GB, free: 68.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/6.617, allocations: 12 kB / 4.182 GB, free: 68.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/6.617, allocations: 0 / 4.182 GB, free: 68.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/6.618, allocations: 1.149 MB / 4.184 GB, free: 67.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/6.624, allocations: 3.506 MB / 4.187 GB, free: 63.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/6.624, allocations: 16.25 kB / 4.187 GB, free: 63.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/6.625, allocations: 247.7 kB / 4.187 GB, free: 63.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/6.625, allocations: 16 kB / 4.187 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/6.625, allocations: 23.94 kB / 4.187 GB, free: 63.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/6.625, allocations: 23.92 kB / 4.187 GB, free: 63.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/6.625, allocations: 15.94 kB / 4.187 GB, free: 63.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002059/6.627, allocations: 2.645 MB / 4.19 GB, free: 60.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/6.628, allocations: 343.3 kB / 4.19 GB, free: 60.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/6.628, allocations: 23.89 kB / 4.19 GB, free: 60.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/6.629, allocations: 79.78 kB / 4.19 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/6.629, allocations: 88.31 kB / 4.19 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/6.63, allocations: 51.98 kB / 4.19 GB, free: 59.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006141/6.63, allocations: 0.5962 MB / 4.191 GB, free: 59.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001498/6.632, allocations: 0.5234 MB / 4.192 GB, free: 58.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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.002199/6.634, allocations: 2.33 MB / 4.194 GB, free: 56.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001448/6.635, allocations: 1.121 MB / 4.195 GB, free: 55.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/6.635, allocations: 4 kB / 4.195 GB, free: 55.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005321/6.636, allocations: 0.5183 MB / 4.195 GB, free: 54.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/6.639, allocations: 0.6846 MB / 4.196 GB, free: 54.23 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/6.643, allocations: 2.734 MB / 4.199 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/6.644, allocations: 1.546 MB / 4.2 GB, free: 49.74 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/6.644, allocations: 0 / 4.2 GB, free: 49.74 MB / 0.8698 GB Notification: Performance of Templates: time 0.04595/6.69, allocations: 36.16 MB / 4.236 GB, free: 13.93 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches