Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") [: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 2.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 178.6 kB / 490.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 88.69 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.284e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.988/5.277, allocations: 1.93 GB / 3.142 GB, free: 403.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/5.277, allocations: 87.95 kB / 3.142 GB, free: 403.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.483/8.76, allocations: 1.159 GB / 4.301 GB, free: 85.94 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001347/8.76, allocations: 31.98 kB / 4.301 GB, free: 85.91 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003597/8.764, allocations: 1.531 MB / 4.302 GB, free: 84.33 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/8.764, allocations: 8.031 kB / 4.302 GB, free: 84.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/8.767, allocations: 457.8 kB / 4.303 GB, free: 83.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/8.769, allocations: 1.179 MB / 4.304 GB, free: 82.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008813/8.77, allocations: 261.8 kB / 4.304 GB, free: 82.39 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/8.77, allocations: 52 kB / 4.304 GB, free: 82.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001115/8.771, allocations: 0.6248 MB / 4.305 GB, free: 81.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/8.773, allocations: 0.9783 MB / 4.306 GB, free: 80.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/8.773, allocations: 7.938 kB / 4.306 GB, free: 80.62 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/8.773, allocations: 4 kB / 4.306 GB, free: 80.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/8.773, allocations: 33.3 kB / 4.306 GB, free: 80.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/8.779, allocations: 5.723 MB / 4.311 GB, free: 74.62 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/8.779, allocations: 244.2 kB / 4.312 GB, free: 74.33 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/8.779, allocations: 133.2 kB / 4.312 GB, free: 74.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/8.779, allocations: 101 kB / 4.312 GB, free: 74.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/8.779, allocations: 38.56 kB / 4.312 GB, free: 74.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/8.779, allocations: 0 / 4.312 GB, free: 74.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0007453/8.78, allocations: 328.4 kB / 4.312 GB, free: 73.69 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/8.78, allocations: 179.9 kB / 4.312 GB, free: 73.47 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/8.781, allocations: 0.7442 MB / 4.313 GB, free: 72.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/8.781, allocations: 25.7 kB / 4.313 GB, free: 72.68 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/8.781, allocations: 0.4935 MB / 4.314 GB, free: 72.18 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/8.781, allocations: 67.09 kB / 4.314 GB, free: 72.11 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/8.781, allocations: 0 / 4.314 GB, free: 72.11 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/8.781, allocations: 329.9 kB / 4.314 GB, free: 71.78 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/8.782, allocations: 149.2 kB / 4.314 GB, free: 71.63 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/8.782, allocations: 455.2 kB / 4.315 GB, free: 71.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/8.782, allocations: 239 kB / 4.315 GB, free: 70.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/8.782, allocations: 0 / 4.315 GB, free: 70.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009319/8.783, allocations: 0.6101 MB / 4.315 GB, free: 70.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/8.783, allocations: 11.84 kB / 4.315 GB, free: 70.19 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/8.783, allocations: 12 kB / 4.315 GB, free: 70.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/8.783, allocations: 12 kB / 4.315 GB, free: 70.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/8.784, allocations: 187.8 kB / 4.316 GB, free: 69.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/8.784, allocations: 15.94 kB / 4.316 GB, free: 69.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/8.786, allocations: 243.2 kB / 4.316 GB, free: 69.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.337e-05/8.786, allocations: 39.98 kB / 4.316 GB, free: 69.69 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001055/8.786, allocations: 120.8 kB / 4.316 GB, free: 69.56 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/8.786, allocations: 98.78 kB / 4.316 GB, free: 69.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/8.786, allocations: 268.9 kB / 4.316 GB, free: 69.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/8.786, allocations: 4 kB / 4.316 GB, free: 69.19 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/8.786, allocations: 0 / 4.316 GB, free: 69.19 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/8.786, allocations: 8 kB / 4.316 GB, free: 69.18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/8.789, allocations: 1.84 MB / 4.318 GB, free: 67.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/8.789, allocations: 4 kB / 4.318 GB, free: 67.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/8.789, allocations: 35.92 kB / 4.318 GB, free: 67.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/8.789, allocations: 8 kB / 4.318 GB, free: 67.19 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/8.789, allocations: 8 kB / 4.318 GB, free: 67.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/8.789, allocations: 4 kB / 4.318 GB, free: 67.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/8.789, allocations: 11.84 kB / 4.318 GB, free: 67.16 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000445/8.789, allocations: 0.6617 MB / 4.319 GB, free: 66.32 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/8.79, allocations: 211.8 kB / 4.319 GB, free: 66.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/8.79, allocations: 7.984 kB / 4.319 GB, free: 66.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/8.79, allocations: 83.88 kB / 4.319 GB, free: 66.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/8.79, allocations: 27.83 kB / 4.319 GB, free: 65.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/8.79, allocations: 8 kB / 4.319 GB, free: 65.97 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005775/8.791, allocations: 0.5725 MB / 4.32 GB, free: 65.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001334/8.792, allocations: 459 kB / 4.32 GB, free: 64.94 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.003063/8.795, allocations: 2.597 MB / 4.323 GB, free: 62.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005482/8.796, allocations: 335.6 kB / 4.323 GB, free: 61.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/8.796, allocations: 0 / 4.323 GB, free: 61.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/8.796, allocations: 106.1 kB / 4.323 GB, free: 61.73 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/8.798, allocations: 399.1 kB / 4.324 GB, free: 61.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/8.8, allocations: 1.263 MB / 4.325 GB, free: 59.99 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007728/8.801, allocations: 1.206 MB / 4.326 GB, free: 58.75 MB / 1.151 GB Notification: Performance of SimCode: time 9.11e-07/8.801, allocations: 0 / 4.326 GB, free: 58.75 MB / 1.151 GB Notification: Performance of Templates: time 0.03738/8.838, allocations: 26.13 MB / 4.351 GB, free: 32.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches