Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.051/2.051, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001039/0.001039, allocations: 181.3 kB / 490.8 MB, free: 1.938 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.443/1.443, allocations: 221.4 MB / 0.7863 GB, free: 13.77 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.0009136/0.0009136, allocations: 87.28 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.275e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.466/4.771, allocations: 1.918 GB / 3.129 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/4.771, allocations: 89.7 kB / 3.129 GB, free: 358.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.711/6.482, allocations: 0.5878 GB / 3.717 GB, free: 214.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002016/6.482, allocations: 38.34 kB / 3.717 GB, free: 214.8 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.006864/6.489, allocations: 2.302 MB / 3.719 GB, free: 212.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/6.489, allocations: 12.03 kB / 3.719 GB, free: 212.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/6.493, allocations: 426.1 kB / 3.72 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/6.498, allocations: 2.251 MB / 3.722 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/6.498, allocations: 24 kB / 3.722 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/6.498, allocations: 76 kB / 3.722 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001948/6.5, allocations: 1.49 MB / 3.724 GB, free: 208.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/6.502, allocations: 1.247 MB / 3.725 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/6.502, allocations: 4 kB / 3.725 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/6.502, allocations: 4 kB / 3.725 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/6.502, allocations: 16 kB / 3.725 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008537/6.51, allocations: 6.26 MB / 3.731 GB, free: 200.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/6.512, allocations: 1.453 MB / 3.732 GB, free: 198.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/6.513, allocations: 0.6933 MB / 3.733 GB, free: 198.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/6.514, allocations: 460.4 kB / 3.734 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/6.514, allocations: 47.05 kB / 3.734 GB, free: 197.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/6.514, allocations: 0 / 3.734 GB, free: 197.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.005494/6.519, allocations: 2.142 MB / 3.736 GB, free: 195.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/6.519, allocations: 55.91 kB / 3.736 GB, free: 195.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/6.522, allocations: 2.463 MB / 3.738 GB, free: 192.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004073/6.522, allocations: 29.7 kB / 3.738 GB, free: 192.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/6.523, allocations: 472.7 kB / 3.739 GB, free: 192.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/6.523, allocations: 185.2 kB / 3.739 GB, free: 192.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/6.523, allocations: 0 / 3.739 GB, free: 192.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/6.523, allocations: 377.9 kB / 3.739 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/6.526, allocations: 2.175 MB / 3.741 GB, free: 189.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/6.529, allocations: 2.628 MB / 3.744 GB, free: 186.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/6.533, allocations: 2.241 MB / 3.746 GB, free: 184.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/6.533, allocations: 4 kB / 3.746 GB, free: 184.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00892/6.542, allocations: 4.954 MB / 3.751 GB, free: 179.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003704/6.543, allocations: 2.057 MB / 3.753 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/6.543, allocations: 4 kB / 3.753 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/6.543, allocations: 116.8 kB / 3.753 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/6.545, allocations: 391.5 kB / 3.753 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/6.547, allocations: 1.33 MB / 3.755 GB, free: 175.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/6.55, allocations: 321.4 kB / 3.755 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/6.551, allocations: 136 kB / 3.755 GB, free: 175.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/6.551, allocations: 4 kB / 3.755 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009489/6.56, allocations: 4.715 MB / 3.76 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/6.56, allocations: 4.625 kB / 3.76 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/6.56, allocations: 15.91 kB / 3.76 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/6.563, allocations: 403.4 kB / 3.76 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/6.563, allocations: 19.98 kB / 3.76 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/6.566, allocations: 234.6 kB / 3.76 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/6.567, allocations: 144 kB / 3.76 GB, free: 169.6 MB / 1.151 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.0006103/6.567, allocations: 161.8 kB / 3.761 GB, free: 169.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/6.568, allocations: 157.8 kB / 3.761 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/6.574, allocations: 2.411 MB / 3.763 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/6.574, allocations: 7.984 kB / 3.763 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/6.574, allocations: 0 / 3.763 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/6.574, allocations: 4 kB / 3.763 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008993/6.583, allocations: 4.172 MB / 3.767 GB, free: 162.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/6.583, allocations: 4 kB / 3.767 GB, free: 162.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009446/6.584, allocations: 188 kB / 3.767 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/6.584, allocations: 124.8 kB / 3.768 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/6.584, allocations: 27.97 kB / 3.768 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/6.585, allocations: 1.314 MB / 3.769 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/6.585, allocations: 4 kB / 3.769 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005084/6.59, allocations: 2.487 MB / 3.771 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/6.592, allocations: 0.5842 MB / 3.772 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008058/6.593, allocations: 4 kB / 3.772 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/6.595, allocations: 99.78 kB / 3.772 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/6.595, allocations: 44.48 kB / 3.772 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/6.595, allocations: 87.97 kB / 3.772 GB, free: 157.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002905/6.598, allocations: 1.829 MB / 3.774 GB, free: 155.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005635/6.603, allocations: 1.133 MB / 3.775 GB, free: 154.5 MB / 1.151 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.003231/6.607, allocations: 1.777 MB / 3.777 GB, free: 152.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009189/6.616, allocations: 5.958 MB / 3.783 GB, free: 146.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/6.616, allocations: 3.938 kB / 3.783 GB, free: 146.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/6.617, allocations: 0.6439 MB / 3.783 GB, free: 146.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/6.62, allocations: 342.9 kB / 3.783 GB, free: 145.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/6.626, allocations: 2.386 MB / 3.786 GB, free: 143.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/6.629, allocations: 1.558 MB / 3.787 GB, free: 141.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.32e-07/6.629, allocations: 0 / 3.787 GB, free: 141.9 MB / 1.151 GB Notification: Performance of Templates: time 0.08373/6.712, allocations: 66.4 MB / 3.852 GB, free: 75.68 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches