Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.976/1.976, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001219/0.001219, allocations: 193.2 kB / 487 MB, free: 5.352 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.336/1.336, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 103.4 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.081e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2327, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.853/4.085, allocations: 1.915 GB / 3.12 GB, free: 409.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/4.086, allocations: 95.94 kB / 3.12 GB, free: 409 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.545/5.631, allocations: 0.6111 GB / 3.731 GB, free: 225.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.489e-05/5.631, allocations: 26.97 kB / 3.731 GB, free: 225.5 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002485/5.633, allocations: 1.309 MB / 3.733 GB, free: 224.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/5.633, allocations: 9.031 kB / 3.733 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/5.636, allocations: 394.1 kB / 3.733 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/5.638, allocations: 1.054 MB / 3.734 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/5.638, allocations: 16 kB / 3.734 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/5.638, allocations: 39.98 kB / 3.734 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007945/5.639, allocations: 0.5291 MB / 3.735 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/5.64, allocations: 0.5119 MB / 3.735 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/5.64, allocations: 0 / 3.735 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/5.64, allocations: 0 / 3.735 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/5.64, allocations: 21 kB / 3.735 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/5.643, allocations: 2.634 MB / 3.738 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/5.644, allocations: 0.5101 MB / 3.738 GB, free: 218.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/5.644, allocations: 304.9 kB / 3.738 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/5.645, allocations: 294.1 kB / 3.739 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/5.645, allocations: 39.64 kB / 3.739 GB, free: 217.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 1.863e-06/5.645, allocations: 0 / 3.739 GB, free: 217.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001309/5.646, allocations: 0.7038 MB / 3.739 GB, free: 216.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/5.646, allocations: 55.41 kB / 3.739 GB, free: 216.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/5.647, allocations: 0.9608 MB / 3.74 GB, free: 215.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/5.647, allocations: 29.7 kB / 3.74 GB, free: 215.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/5.647, allocations: 273.4 kB / 3.741 GB, free: 215.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/5.648, allocations: 141.9 kB / 3.741 GB, free: 215.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/5.648, allocations: 4 kB / 3.741 GB, free: 215.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/5.648, allocations: 321.9 kB / 3.741 GB, free: 215.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/5.648, allocations: 236.6 kB / 3.741 GB, free: 214.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/5.648, allocations: 449.9 kB / 3.742 GB, free: 214.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/5.649, allocations: 288.1 kB / 3.742 GB, free: 214.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/5.649, allocations: 0 / 3.742 GB, free: 214.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009313/5.65, allocations: 0.66 MB / 3.743 GB, free: 213.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/5.65, allocations: 94.88 kB / 3.743 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/5.65, allocations: 11.98 kB / 3.743 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/5.65, allocations: 0 / 3.743 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/5.65, allocations: 135.8 kB / 3.743 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/5.65, allocations: 4 kB / 3.743 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/5.652, allocations: 127.6 kB / 3.743 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/5.652, allocations: 31.97 kB / 3.743 GB, free: 213 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/5.652, allocations: 4 kB / 3.743 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007694/5.653, allocations: 0.5304 MB / 3.744 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/5.653, allocations: 0 / 3.744 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-06/5.653, allocations: 0 / 3.744 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/5.653, allocations: 143.7 kB / 3.744 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/5.653, allocations: 4 kB / 3.744 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/5.655, allocations: 127.7 kB / 3.744 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/5.655, allocations: 27.97 kB / 3.744 GB, free: 212.2 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 (46): * Single equations (assignments): 46 * 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.0001469/5.655, allocations: 112.8 kB / 3.744 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/5.655, allocations: 94.78 kB / 3.744 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/5.656, allocations: 0.7466 MB / 3.745 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/5.656, allocations: 7.938 kB / 3.745 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/5.656, allocations: 0 / 3.745 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/5.656, allocations: 7.984 kB / 3.745 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/5.659, allocations: 1.838 MB / 3.747 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/5.659, allocations: 7.984 kB / 3.747 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/5.659, allocations: 116 kB / 3.747 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/5.659, allocations: 8 kB / 3.747 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/5.659, allocations: 15.91 kB / 3.747 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/5.659, allocations: 7.984 kB / 3.747 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/5.659, allocations: 4 kB / 3.747 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001248/5.661, allocations: 1.226 MB / 3.748 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/5.661, allocations: 295.7 kB / 3.748 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/5.661, allocations: 4 kB / 3.748 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/5.662, allocations: 91.88 kB / 3.748 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/5.662, allocations: 39.89 kB / 3.748 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/5.662, allocations: 20 kB / 3.748 GB, free: 207.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008317/5.663, allocations: 0.7468 MB / 3.749 GB, free: 206.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001413/5.665, allocations: 0.5108 MB / 3.75 GB, free: 206.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.001849/5.666, allocations: 1.83 MB / 3.751 GB, free: 204.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001156/5.668, allocations: 0.8571 MB / 3.752 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/5.668, allocations: 0 / 3.752 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/5.668, allocations: 292.2 kB / 3.753 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/5.67, allocations: 383.2 kB / 3.753 GB, free: 202.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/5.672, allocations: 1.307 MB / 3.754 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/5.673, allocations: 1.172 MB / 3.755 GB, free: 200.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/5.673, allocations: 4 kB / 3.755 GB, free: 200.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04277/5.716, allocations: 32.7 MB / 3.787 GB, free: 167.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches