Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.175/1.175, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 181.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.023/1.023, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 90.09 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.542e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.173/3.314, allocations: 2.203 GB / 3.087 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/3.314, allocations: 95.94 kB / 3.088 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.736/5.05, allocations: 0.7197 GB / 3.807 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001083/5.05, allocations: 35.59 kB / 3.807 GB, free: 130.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00283/5.053, allocations: 1.613 MB / 3.809 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/5.053, allocations: 8.031 kB / 3.809 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/5.056, allocations: 461.7 kB / 3.809 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/5.059, allocations: 1.425 MB / 3.811 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/5.059, allocations: 20 kB / 3.811 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/5.059, allocations: 56 kB / 3.811 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/5.06, allocations: 0.7328 MB / 3.811 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/5.061, allocations: 0.7948 MB / 3.812 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/5.061, allocations: 4 kB / 3.812 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/5.061, allocations: 0 / 3.812 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/5.061, allocations: 16 kB / 3.812 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/5.065, allocations: 3.474 MB / 3.816 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/5.066, allocations: 0.7168 MB / 3.816 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/5.067, allocations: 400 kB / 3.817 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/5.067, allocations: 294 kB / 3.817 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/5.067, allocations: 39 kB / 3.817 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 1.562e-06/5.067, allocations: 0 / 3.817 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001503/5.068, allocations: 0.9035 MB / 3.818 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/5.068, allocations: 214.1 kB / 3.818 GB, free: 119 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/5.07, allocations: 1.264 MB / 3.819 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/5.07, allocations: 29.7 kB / 3.819 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/5.07, allocations: 342.9 kB / 3.82 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/5.07, allocations: 177.3 kB / 3.82 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/5.07, allocations: 0 / 3.82 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/5.07, allocations: 330 kB / 3.82 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/5.071, allocations: 341 kB / 3.821 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/5.071, allocations: 0.6478 MB / 3.821 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/5.072, allocations: 428.7 kB / 3.822 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/5.072, allocations: 0 / 3.822 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001288/5.073, allocations: 0.9546 MB / 3.823 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/5.073, allocations: 93.92 kB / 3.823 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/5.073, allocations: 7.984 kB / 3.823 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/5.073, allocations: 4 kB / 3.823 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/5.074, allocations: 167.7 kB / 3.823 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/5.074, allocations: 4 kB / 3.823 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/5.076, allocations: 163.4 kB / 3.823 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.578e-05/5.076, allocations: 43.95 kB / 3.823 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-06/5.076, allocations: 4 kB / 3.823 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/5.077, allocations: 0.7787 MB / 3.824 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/5.077, allocations: 0 / 3.824 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/5.077, allocations: 4 kB / 3.824 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008059/5.078, allocations: 167.7 kB / 3.824 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/5.078, allocations: 0 / 3.824 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/5.079, allocations: 167.4 kB / 3.824 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/5.079, allocations: 39.95 kB / 3.824 GB, free: 112.8 MB / 0.8698 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001464/5.079, allocations: 124.9 kB / 3.824 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/5.079, allocations: 126.4 kB / 3.824 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/5.081, allocations: 0.969 MB / 3.825 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/5.081, allocations: 4 kB / 3.825 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/5.081, allocations: 3.984 kB / 3.825 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/5.081, allocations: 0 / 3.825 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/5.084, allocations: 2.344 MB / 3.828 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/5.084, allocations: 7.938 kB / 3.828 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/5.084, allocations: 135.8 kB / 3.828 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/5.084, allocations: 4.062 kB / 3.828 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/5.085, allocations: 19.98 kB / 3.828 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/5.085, allocations: 7.938 kB / 3.828 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/5.085, allocations: 4 kB / 3.828 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001521/5.086, allocations: 1.529 MB / 3.829 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/5.087, allocations: 363.2 kB / 3.83 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/5.087, allocations: 7.984 kB / 3.83 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/5.088, allocations: 103.8 kB / 3.83 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/5.088, allocations: 48.27 kB / 3.83 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/5.088, allocations: 27.98 kB / 3.83 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001011/5.089, allocations: 0.9738 MB / 3.831 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00153/5.091, allocations: 0.6824 MB / 3.831 GB, free: 105.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001916/5.093, allocations: 2.141 MB / 3.833 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001442/5.094, allocations: 1.326 MB / 3.835 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/5.094, allocations: 0 / 3.835 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/5.095, allocations: 369.8 kB / 3.835 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/5.097, allocations: 496.7 kB / 3.836 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/5.099, allocations: 1.741 MB / 3.837 GB, free: 99.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/5.1, allocations: 1.333 MB / 3.839 GB, free: 97.77 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/5.1, allocations: 3.938 kB / 3.839 GB, free: 97.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.04667/5.147, allocations: 42.3 MB / 3.88 GB, free: 55.81 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches