Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [: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.953/1.953, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001055/0.001055, allocations: 178.5 kB / 490.8 MB, free: 1.902 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.278/1.278, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0009874/0.0009873, allocations: 95.91 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.083e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2885, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.224/4.512, allocations: 1.917 GB / 3.128 GB, free: 416.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/4.513, allocations: 92.33 kB / 3.128 GB, free: 416.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.094/6.606, allocations: 0.75 GB / 3.878 GB, free: 83.38 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001687/6.607, allocations: 35.98 kB / 3.878 GB, free: 83.34 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004299/6.611, allocations: 1.535 MB / 3.88 GB, free: 81.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/6.611, allocations: 12.03 kB / 3.88 GB, free: 81.74 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003792/6.615, allocations: 453.8 kB / 3.88 GB, free: 81.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/6.618, allocations: 1.347 MB / 3.882 GB, free: 79.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/6.618, allocations: 20 kB / 3.882 GB, free: 79.88 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/6.618, allocations: 48 kB / 3.882 GB, free: 79.83 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001215/6.62, allocations: 0.7288 MB / 3.882 GB, free: 79.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/6.621, allocations: 0.6753 MB / 3.883 GB, free: 78.42 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/6.621, allocations: 4 kB / 3.883 GB, free: 78.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/6.621, allocations: 3.984 kB / 3.883 GB, free: 78.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/6.621, allocations: 29.3 kB / 3.883 GB, free: 78.38 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/6.627, allocations: 3.473 MB / 3.886 GB, free: 74.77 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/6.628, allocations: 0.5968 MB / 3.887 GB, free: 74.17 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/6.628, allocations: 402.2 kB / 3.887 GB, free: 73.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/6.629, allocations: 288 kB / 3.888 GB, free: 73.44 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/6.629, allocations: 43.06 kB / 3.888 GB, free: 73.38 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 2.805e-06/6.629, allocations: 0 / 3.888 GB, free: 73.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.002065/6.631, allocations: 0.9166 MB / 3.889 GB, free: 72.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/6.631, allocations: 55.91 kB / 3.889 GB, free: 72.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/6.633, allocations: 1.238 MB / 3.89 GB, free: 71.15 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/6.633, allocations: 33.7 kB / 3.89 GB, free: 71.11 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/6.634, allocations: 315.3 kB / 3.89 GB, free: 70.79 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/6.634, allocations: 189.2 kB / 3.89 GB, free: 70.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/6.634, allocations: 0 / 3.89 GB, free: 70.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/6.634, allocations: 326 kB / 3.891 GB, free: 70.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/6.634, allocations: 312.9 kB / 3.891 GB, free: 69.98 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/6.635, allocations: 0.5928 MB / 3.892 GB, free: 69.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/6.636, allocations: 395.1 kB / 3.892 GB, free: 68.89 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/6.636, allocations: 3.906 kB / 3.892 GB, free: 68.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001615/6.637, allocations: 0.8856 MB / 3.893 GB, free: 67.99 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/6.637, allocations: 92.28 kB / 3.893 GB, free: 67.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/6.637, allocations: 112 / 3.893 GB, free: 67.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/6.637, allocations: 11.94 kB / 3.893 GB, free: 67.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/6.638, allocations: 183.7 kB / 3.893 GB, free: 67.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/6.638, allocations: 7.906 kB / 3.893 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/6.641, allocations: 163.5 kB / 3.893 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/6.641, allocations: 43.95 kB / 3.893 GB, free: 67.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/6.641, allocations: 4 kB / 3.893 GB, free: 67.49 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00115/6.642, allocations: 0.7174 MB / 3.894 GB, free: 66.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/6.642, allocations: 0 / 3.894 GB, free: 66.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/6.642, allocations: 4 kB / 3.894 GB, free: 66.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/6.643, allocations: 187.7 kB / 3.894 GB, free: 66.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/6.643, allocations: 0 / 3.894 GB, free: 66.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/6.645, allocations: 159.5 kB / 3.894 GB, free: 66.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/6.645, allocations: 43.86 kB / 3.894 GB, free: 66.39 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002359/6.646, allocations: 108.9 kB / 3.895 GB, free: 66.27 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/6.646, allocations: 118.5 kB / 3.895 GB, free: 66.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/6.648, allocations: 0.9997 MB / 3.896 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/6.648, allocations: 4 kB / 3.896 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/6.648, allocations: 0 / 3.896 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/6.648, allocations: 11.97 kB / 3.896 GB, free: 65.13 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/6.652, allocations: 2.347 MB / 3.898 GB, free: 62.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/6.652, allocations: 0 / 3.898 GB, free: 62.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007673/6.653, allocations: 148.1 kB / 3.898 GB, free: 62.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/6.653, allocations: 7.938 kB / 3.898 GB, free: 62.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/6.653, allocations: 8 kB / 3.898 GB, free: 62.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/6.653, allocations: 8 kB / 3.898 GB, free: 62.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/6.653, allocations: 7.984 kB / 3.898 GB, free: 62.54 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00182/6.655, allocations: 1.542 MB / 3.9 GB, free: 60.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/6.655, allocations: 363.3 kB / 3.9 GB, free: 60.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/6.656, allocations: 7.984 kB / 3.9 GB, free: 60.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/6.657, allocations: 103.7 kB / 3.9 GB, free: 60.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/6.657, allocations: 52.36 kB / 3.9 GB, free: 60.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/6.657, allocations: 27.98 kB / 3.9 GB, free: 60.34 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001266/6.659, allocations: 0.9487 MB / 3.901 GB, free: 59.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001965/6.66, allocations: 0.6356 MB / 3.902 GB, free: 58.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.002613/6.663, allocations: 2.089 MB / 3.904 GB, free: 56.58 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001636/6.665, allocations: 1.143 MB / 3.905 GB, free: 55.44 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/6.665, allocations: 0 / 3.905 GB, free: 55.44 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/6.665, allocations: 381.6 kB / 3.905 GB, free: 55.07 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/6.668, allocations: 467.6 kB / 3.906 GB, free: 54.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/6.671, allocations: 1.706 MB / 3.907 GB, free: 52.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/6.672, allocations: 1.318 MB / 3.909 GB, free: 51.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/6.672, allocations: 0 / 3.909 GB, free: 51.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06067/6.733, allocations: 40.67 MB / 3.948 GB, free: 11.09 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches