Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") [: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.183/1.183, allocations: 249.4 MB / 256.7 MB, free: 7.086 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.0009907/0.0009906, allocations: 181.3 kB / 316 MB, free: 3.566 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.052/1.053, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0009318/0.0009319, allocations: 86.22 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.112/3.245, allocations: 2.204 GB / 3.088 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/3.246, allocations: 87.94 kB / 3.088 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.46/4.705, allocations: 0.5591 GB / 3.648 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.46e-05/4.705, allocations: 39.52 kB / 3.648 GB, free: 181.2 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003141/4.709, allocations: 1.828 MB / 3.649 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/4.709, allocations: 10.44 kB / 3.649 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/4.712, allocations: 0.5287 MB / 3.65 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/4.714, allocations: 2.079 MB / 3.652 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/4.715, allocations: 18.56 kB / 3.652 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/4.715, allocations: 75.5 kB / 3.652 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001759/4.716, allocations: 1.5 MB / 3.653 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/4.718, allocations: 1.244 MB / 3.655 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/4.718, allocations: 5.531 kB / 3.655 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/4.718, allocations: 0 / 3.655 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/4.718, allocations: 20.64 kB / 3.655 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/4.724, allocations: 5.603 MB / 3.66 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/4.726, allocations: 1.462 MB / 3.662 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/4.726, allocations: 0.7046 MB / 3.662 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/4.727, allocations: 453.5 kB / 3.663 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/4.727, allocations: 38.44 kB / 3.663 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 1.573e-06/4.727, allocations: 0 / 3.663 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.004687/4.731, allocations: 2.149 MB / 3.665 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/4.731, allocations: 60.25 kB / 3.665 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/4.734, allocations: 2.447 MB / 3.667 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/4.734, allocations: 29.11 kB / 3.667 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/4.734, allocations: 468.3 kB / 3.668 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/4.734, allocations: 188.6 kB / 3.668 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/4.734, allocations: 0 / 3.668 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/4.735, allocations: 386.1 kB / 3.668 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/4.736, allocations: 1.636 MB / 3.67 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/4.738, allocations: 2.089 MB / 3.672 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/4.742, allocations: 2.277 MB / 3.674 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/4.742, allocations: 3.781 kB / 3.674 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006464/4.748, allocations: 4.572 MB / 3.679 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003147/4.749, allocations: 2.055 MB / 3.681 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/4.749, allocations: 8.875 kB / 3.681 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/4.749, allocations: 114 kB / 3.681 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/4.751, allocations: 417.5 kB / 3.681 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/4.752, allocations: 1.33 MB / 3.682 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/4.754, allocations: 333.2 kB / 3.683 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/4.754, allocations: 138.2 kB / 3.683 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/4.754, allocations: 3.594 kB / 3.683 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006067/4.76, allocations: 4.323 MB / 3.687 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/4.76, allocations: 5.781 kB / 3.687 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/4.76, allocations: 22.5 kB / 3.687 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/4.762, allocations: 416 kB / 3.688 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/4.762, allocations: 20.02 kB / 3.688 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/4.764, allocations: 262.6 kB / 3.688 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/4.764, allocations: 141.2 kB / 3.688 GB, free: 171.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003014/4.765, allocations: 163.3 kB / 3.688 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/4.765, allocations: 158 kB / 3.688 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/4.77, allocations: 2.411 MB / 3.691 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/4.77, allocations: 7.688 kB / 3.691 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/4.77, allocations: 0 / 3.691 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/4.77, allocations: 3.656 kB / 3.691 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/4.777, allocations: 4.219 MB / 3.695 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/4.777, allocations: 0 / 3.695 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/4.778, allocations: 205.3 kB / 3.695 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/4.779, allocations: 129.1 kB / 3.695 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/4.779, allocations: 37.52 kB / 3.695 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/4.78, allocations: 1.301 MB / 3.696 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/4.78, allocations: 6.594 kB / 3.696 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004657/4.784, allocations: 2.479 MB / 3.699 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009569/4.785, allocations: 0.5899 MB / 3.699 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/4.786, allocations: 3.969 kB / 3.699 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/4.787, allocations: 119 kB / 3.7 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/4.787, allocations: 46.84 kB / 3.7 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/4.788, allocations: 84.58 kB / 3.7 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00201/4.79, allocations: 1.827 MB / 3.701 GB, free: 169 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002403/4.792, allocations: 0.9515 MB / 3.702 GB, free: 168.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/4.794, allocations: 1.799 MB / 3.704 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00466/4.799, allocations: 5.101 MB / 3.709 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/4.799, allocations: 0 / 3.709 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/4.799, allocations: 0.661 MB / 3.71 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/4.801, allocations: 345.8 kB / 3.71 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/4.805, allocations: 2.384 MB / 3.712 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/4.806, allocations: 1.546 MB / 3.714 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/4.806, allocations: 0 / 3.714 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.06866/4.875, allocations: 47.75 MB / 3.761 GB, free: 165.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches