Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001079/0.001079, allocations: 172.4 kB / 487 MB, free: 5.367 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.302/1.302, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0009104/0.0009104, allocations: 107.1 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.733e-06, allocations: 4 kB / 1.066 GB, free: 166.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2364, allocations: 142.3 MB / 1.205 GB, free: 24.78 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.839/4.075, allocations: 1.916 GB / 3.121 GB, free: 419.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/4.075, allocations: 91.94 kB / 3.121 GB, free: 419.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.826/5.901, allocations: 0.75 GB / 3.871 GB, free: 89.49 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001739/5.902, allocations: 35.98 kB / 3.871 GB, free: 89.45 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.004041/5.906, allocations: 1.531 MB / 3.873 GB, free: 87.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/5.906, allocations: 11.97 kB / 3.873 GB, free: 87.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/5.91, allocations: 453.7 kB / 3.873 GB, free: 87.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/5.913, allocations: 1.347 MB / 3.874 GB, free: 86.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/5.913, allocations: 24 kB / 3.874 GB, free: 85.99 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/5.913, allocations: 51.91 kB / 3.875 GB, free: 85.94 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001228/5.914, allocations: 0.7289 MB / 3.875 GB, free: 85.21 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/5.916, allocations: 0.6715 MB / 3.876 GB, free: 84.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/5.916, allocations: 0 / 3.876 GB, free: 84.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/5.916, allocations: 3.984 kB / 3.876 GB, free: 84.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/5.916, allocations: 29.25 kB / 3.876 GB, free: 84.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00585/5.922, allocations: 3.482 MB / 3.879 GB, free: 80.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/5.922, allocations: 0.593 MB / 3.88 GB, free: 80.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/5.923, allocations: 405.3 kB / 3.88 GB, free: 79.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/5.923, allocations: 296 kB / 3.881 GB, free: 79.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/5.923, allocations: 39.06 kB / 3.881 GB, free: 79.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 2.284e-06/5.923, allocations: 0 / 3.881 GB, free: 79.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.001789/5.925, allocations: 0.9127 MB / 3.881 GB, free: 78.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/5.925, allocations: 63.84 kB / 3.882 GB, free: 78.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/5.927, allocations: 1.226 MB / 3.883 GB, free: 77.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/5.927, allocations: 33.7 kB / 3.883 GB, free: 77.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/5.927, allocations: 324.4 kB / 3.883 GB, free: 76.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/5.927, allocations: 181.2 kB / 3.883 GB, free: 76.73 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/5.927, allocations: 0 / 3.883 GB, free: 76.73 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/5.927, allocations: 329.9 kB / 3.884 GB, free: 76.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/5.928, allocations: 320.9 kB / 3.884 GB, free: 76.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/5.928, allocations: 0.5812 MB / 3.884 GB, free: 75.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/5.929, allocations: 391 kB / 3.885 GB, free: 75.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/5.929, allocations: 3.938 kB / 3.885 GB, free: 75.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001326/5.93, allocations: 0.8934 MB / 3.886 GB, free: 74.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/5.93, allocations: 96.28 kB / 3.886 GB, free: 74.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/5.93, allocations: 0 / 3.886 GB, free: 74.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/5.93, allocations: 3.906 kB / 3.886 GB, free: 74.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009701/5.931, allocations: 183.8 kB / 3.886 GB, free: 73.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/5.931, allocations: 4 kB / 3.886 GB, free: 73.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/5.933, allocations: 159.5 kB / 3.886 GB, free: 73.67 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/5.933, allocations: 35.95 kB / 3.886 GB, free: 73.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/5.933, allocations: 4 kB / 3.886 GB, free: 73.63 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/5.934, allocations: 0.7329 MB / 3.887 GB, free: 72.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/5.934, allocations: 4 kB / 3.887 GB, free: 72.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/5.934, allocations: 8 kB / 3.887 GB, free: 72.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/5.935, allocations: 175.8 kB / 3.887 GB, free: 72.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/5.935, allocations: 7.984 kB / 3.887 GB, free: 72.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/5.937, allocations: 167.4 kB / 3.887 GB, free: 72.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/5.937, allocations: 35.95 kB / 3.887 GB, free: 72.5 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.0001749/5.937, allocations: 116.9 kB / 3.887 GB, free: 72.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/5.937, allocations: 118.5 kB / 3.887 GB, free: 72.27 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/5.939, allocations: 0.9842 MB / 3.888 GB, free: 71.27 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/5.939, allocations: 8 kB / 3.888 GB, free: 71.27 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/5.939, allocations: 0 / 3.888 GB, free: 71.27 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/5.939, allocations: 7.969 kB / 3.888 GB, free: 71.26 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/5.943, allocations: 2.351 MB / 3.891 GB, free: 68.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/5.943, allocations: 4 kB / 3.891 GB, free: 68.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/5.943, allocations: 152.1 kB / 3.891 GB, free: 68.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/5.943, allocations: 4 kB / 3.891 GB, free: 68.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/5.943, allocations: 11.98 kB / 3.891 GB, free: 68.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/5.943, allocations: 4 kB / 3.891 GB, free: 68.67 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.943, allocations: 4 kB / 3.891 GB, free: 68.66 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001681/5.945, allocations: 1.542 MB / 3.892 GB, free: 67.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005933/5.946, allocations: 367.2 kB / 3.893 GB, free: 66.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/5.946, allocations: 8 kB / 3.893 GB, free: 66.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/5.948, allocations: 99.78 kB / 3.893 GB, free: 66.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/5.948, allocations: 44.44 kB / 3.893 GB, free: 66.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/5.948, allocations: 35.89 kB / 3.893 GB, free: 66.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00121/5.949, allocations: 0.9526 MB / 3.894 GB, free: 65.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001908/5.951, allocations: 0.6356 MB / 3.895 GB, free: 64.88 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.002453/5.953, allocations: 2.082 MB / 3.897 GB, free: 62.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001616/5.955, allocations: 1.143 MB / 3.898 GB, free: 61.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/5.955, allocations: 4 kB / 3.898 GB, free: 61.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004835/5.955, allocations: 377.6 kB / 3.898 GB, free: 61.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/5.958, allocations: 471.8 kB / 3.898 GB, free: 60.74 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/5.961, allocations: 1.719 MB / 3.9 GB, free: 58.96 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/5.962, allocations: 1.315 MB / 3.901 GB, free: 57.62 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/5.962, allocations: 0 / 3.901 GB, free: 57.62 MB / 1.151 GB Notification: Performance of Templates: time 0.05931/6.022, allocations: 40.67 MB / 3.941 GB, free: 17.21 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches