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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.93/1.93, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 187.2 kB / 487 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.3 MB / 0.7819 GB, free: 6.812 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 98.48 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.298e-05, allocations: 4 kB / 1.066 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.003, allocations: 142.3 MB / 1.205 GB, free: 1.926 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.658/4.661, allocations: 1.93 GB / 3.135 GB, free: 7.566 MB / 1.354 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/4.661, allocations: 91.94 kB / 3.135 GB, free: 7.477 MB / 1.354 GB Notification: Performance of FrontEnd: time 4.596/9.257, allocations: 1.113 GB / 4.248 GB, free: 283.5 MB / 1.385 GB Notification: Performance of Transformations before backend: time 0.0001517/9.258, allocations: 53.05 kB / 4.248 GB, free: 283.5 MB / 1.385 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.005215/9.263, allocations: 1.883 MB / 4.25 GB, free: 282.8 MB / 1.385 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/9.263, allocations: 7.562 kB / 4.25 GB, free: 282.8 MB / 1.385 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/9.266, allocations: 0.5241 MB / 4.25 GB, free: 282.7 MB / 1.385 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/9.27, allocations: 1.589 MB / 4.252 GB, free: 282.4 MB / 1.385 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/9.27, allocations: 43.25 kB / 4.252 GB, free: 282.4 MB / 1.385 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/9.271, allocations: 87.22 kB / 4.252 GB, free: 282.4 MB / 1.385 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002047/9.273, allocations: 1.242 MB / 4.253 GB, free: 282.4 MB / 1.385 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/9.275, allocations: 1.51 MB / 4.254 GB, free: 282.1 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/9.275, allocations: 8.969 kB / 4.254 GB, free: 282.1 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/9.275, allocations: 3.969 kB / 4.254 GB, free: 282.1 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/9.275, allocations: 59.86 kB / 4.255 GB, free: 282.1 MB / 1.385 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008258/9.283, allocations: 7.329 MB / 4.262 GB, free: 278 MB / 1.385 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/9.284, allocations: 0.7266 MB / 4.262 GB, free: 277.9 MB / 1.385 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008662/9.285, allocations: 0.6492 MB / 4.263 GB, free: 277.8 MB / 1.385 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/9.286, allocations: 115 kB / 4.263 GB, free: 277.8 MB / 1.385 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/9.286, allocations: 57.95 kB / 4.263 GB, free: 277.7 MB / 1.385 GB Notification: Performance of pre-optimization done (n=106): time 3.126e-06/9.286, allocations: 3.938 kB / 4.263 GB, free: 277.7 MB / 1.385 GB Notification: Performance of matching and sorting (n=112): time 0.006906/9.292, allocations: 3.622 MB / 4.267 GB, free: 276.5 MB / 1.385 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/9.293, allocations: 167.7 kB / 4.267 GB, free: 276.3 MB / 1.385 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/9.294, allocations: 0.7984 MB / 4.268 GB, free: 276.1 MB / 1.385 GB Notification: Performance of collectPreVariables (initialization): time 8.258e-05/9.294, allocations: 29.64 kB / 4.268 GB, free: 276.1 MB / 1.385 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/9.294, allocations: 0.5258 MB / 4.268 GB, free: 275.9 MB / 1.385 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/9.294, allocations: 386.2 kB / 4.269 GB, free: 275.7 MB / 1.385 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/9.294, allocations: 0 / 4.269 GB, free: 275.7 MB / 1.385 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/9.294, allocations: 361.2 kB / 4.269 GB, free: 275.3 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/9.295, allocations: 492.5 kB / 4.269 GB, free: 275.3 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/9.296, allocations: 0.8014 MB / 4.27 GB, free: 275 MB / 1.385 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.019/9.315, allocations: 4.18 MB / 4.274 GB, free: 274.7 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/9.315, allocations: 3.406 kB / 4.274 GB, free: 274.7 MB / 1.385 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00243/9.317, allocations: 1.43 MB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/9.317, allocations: 10.09 kB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/9.317, allocations: 7.094 kB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/9.317, allocations: 20.22 kB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/9.319, allocations: 277.3 kB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/9.319, allocations: 30.83 kB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/9.32, allocations: 78.23 kB / 4.276 GB, free: 274.5 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/9.32, allocations: 61.16 kB / 4.276 GB, free: 274.5 MB / 1.385 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.0002652/9.321, allocations: 140.5 kB / 4.276 GB, free: 274.4 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/9.321, allocations: 147.2 kB / 4.276 GB, free: 274.4 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/9.323, allocations: 1.171 MB / 4.278 GB, free: 274.3 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/9.323, allocations: 15.22 kB / 4.278 GB, free: 274.3 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/9.323, allocations: 3.75 kB / 4.278 GB, free: 274.3 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/9.324, allocations: 1.157 MB / 4.279 GB, free: 273.9 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/9.329, allocations: 3.507 MB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/9.329, allocations: 14.36 kB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/9.331, allocations: 247.3 kB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/9.331, allocations: 16.78 kB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/9.331, allocations: 22.25 kB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/9.331, allocations: 22.16 kB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/9.331, allocations: 16.62 kB / 4.282 GB, free: 273 MB / 1.385 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002597/9.333, allocations: 2.571 MB / 4.285 GB, free: 271.7 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/9.334, allocations: 341.6 kB / 4.285 GB, free: 271.5 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/9.334, allocations: 13.75 kB / 4.285 GB, free: 271.5 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/9.336, allocations: 75.67 kB / 4.285 GB, free: 271.5 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/9.336, allocations: 91.72 kB / 4.285 GB, free: 271.5 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/9.336, allocations: 47.52 kB / 4.285 GB, free: 271.5 MB / 1.385 GB Notification: Performance of sort global known variables: time 0.0007022/9.336, allocations: 0.5898 MB / 4.286 GB, free: 271.4 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.001859/9.338, allocations: 0.5283 MB / 4.287 GB, free: 271.4 MB / 1.385 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.002839/9.341, allocations: 2.326 MB / 4.289 GB, free: 270.7 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.00173/9.343, allocations: 1.137 MB / 4.29 GB, free: 270.7 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/9.343, allocations: 3.688 kB / 4.29 GB, free: 270.7 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.0006024/9.344, allocations: 0.5267 MB / 4.29 GB, free: 270.7 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/9.346, allocations: 0.6738 MB / 4.291 GB, free: 270.6 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/9.351, allocations: 2.741 MB / 4.294 GB, free: 269.7 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/9.352, allocations: 1.535 MB / 4.295 GB, free: 269 MB / 1.385 GB Notification: Performance of SimCode: time 1.092e-06/9.352, allocations: 0 / 4.295 GB, free: 269 MB / 1.385 GB Notification: Performance of Templates: time 0.05831/9.411, allocations: 35.93 MB / 4.33 GB, free: 268.2 MB / 1.385 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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches