Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001023/0.001023, allocations: 172.9 kB / 492.3 MB, free: 0.6289 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.499/1.499, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008897/0.0008897, allocations: 99.27 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.576e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3034, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.119/5.422, allocations: 1.918 GB / 3.13 GB, free: 346.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/5.423, allocations: 96.77 kB / 3.13 GB, free: 346.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.923/7.346, allocations: 0.5886 GB / 3.719 GB, free: 208.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.174e-06/7.346, allocations: 0 / 3.719 GB, free: 208.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000255/7.346, allocations: 47.86 kB / 3.719 GB, free: 208.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.007307/7.354, allocations: 2.078 MB / 3.721 GB, free: 206.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/7.354, allocations: 8.031 kB / 3.721 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/7.358, allocations: 411.4 kB / 3.721 GB, free: 206.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005756/7.364, allocations: 2.189 MB / 3.723 GB, free: 204 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/7.364, allocations: 85.31 kB / 3.723 GB, free: 203.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008239/7.365, allocations: 124 kB / 3.724 GB, free: 203.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/7.367, allocations: 1.284 MB / 3.725 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/7.367, allocations: 7.938 kB / 3.725 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/7.367, allocations: 28 kB / 3.725 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/7.367, allocations: 20 kB / 3.725 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/7.369, allocations: 1.461 MB / 3.726 GB, free: 200.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/7.384, allocations: 7.039 MB / 3.733 GB, free: 193.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/7.386, allocations: 1.341 MB / 3.735 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008977/7.387, allocations: 0.6589 MB / 3.735 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004481/7.387, allocations: 454 kB / 3.736 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/7.387, allocations: 39.12 kB / 3.736 GB, free: 191.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/7.387, allocations: 0 / 3.736 GB, free: 191.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.003702/7.391, allocations: 1.556 MB / 3.737 GB, free: 189.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/7.391, allocations: 59.97 kB / 3.737 GB, free: 189.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/7.396, allocations: 2.642 MB / 3.74 GB, free: 186.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008895/7.397, allocations: 57.7 kB / 3.74 GB, free: 186.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/7.398, allocations: 0.7158 MB / 3.741 GB, free: 186 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/7.398, allocations: 193.1 kB / 3.741 GB, free: 185.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/7.399, allocations: 28 kB / 3.741 GB, free: 185.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001438/7.399, allocations: 381.9 kB / 3.741 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/7.402, allocations: 2.057 MB / 3.743 GB, free: 183.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/7.405, allocations: 2.535 MB / 3.746 GB, free: 180.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/7.408, allocations: 1.671 MB / 3.747 GB, free: 178.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/7.408, allocations: 0 / 3.747 GB, free: 178.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007503/7.415, allocations: 4.298 MB / 3.751 GB, free: 174.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003889/7.416, allocations: 2.067 MB / 3.753 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/7.416, allocations: 7.938 kB / 3.753 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/7.416, allocations: 156.8 kB / 3.754 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/7.419, allocations: 391.5 kB / 3.754 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007632/7.419, allocations: 1.216 MB / 3.755 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/7.423, allocations: 345.3 kB / 3.755 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/7.423, allocations: 140 kB / 3.756 GB, free: 170.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/7.423, allocations: 8 kB / 3.756 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006002/7.429, allocations: 4.083 MB / 3.76 GB, free: 166 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/7.429, allocations: 16.03 kB / 3.76 GB, free: 166 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/7.429, allocations: 16 kB / 3.76 GB, free: 166 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/7.431, allocations: 395.5 kB / 3.76 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/7.432, allocations: 12 kB / 3.76 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/7.435, allocations: 286.2 kB / 3.76 GB, free: 165.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/7.435, allocations: 136 kB / 3.76 GB, free: 165.1 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 (196): * Single equations (assignments): 191 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006885/7.436, allocations: 219.2 kB / 3.761 GB, free: 164.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009231/7.437, allocations: 177.6 kB / 3.761 GB, free: 164.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/7.44, allocations: 1.783 MB / 3.763 GB, free: 163 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/7.44, allocations: 8 kB / 3.763 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/7.44, allocations: 0 / 3.763 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/7.44, allocations: 3.984 kB / 3.763 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/7.447, allocations: 3.695 MB / 3.766 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/7.447, allocations: 4 kB / 3.766 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/7.448, allocations: 180 kB / 3.766 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/7.448, allocations: 124.8 kB / 3.766 GB, free: 158.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/7.448, allocations: 39.97 kB / 3.767 GB, free: 158.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/7.449, allocations: 1.205 MB / 3.768 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/7.449, allocations: 8 kB / 3.768 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/7.452, allocations: 1.95 MB / 3.77 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/7.454, allocations: 0.6075 MB / 3.77 GB, free: 154.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009071/7.455, allocations: 20 kB / 3.77 GB, free: 154.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/7.457, allocations: 99.83 kB / 3.77 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/7.457, allocations: 60.41 kB / 3.77 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/7.457, allocations: 83.97 kB / 3.77 GB, free: 154.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00332/7.46, allocations: 1.998 MB / 3.772 GB, free: 152.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.41e-07/7.46, allocations: 0 / 3.772 GB, free: 152.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006276/7.466, allocations: 1.21 MB / 3.774 GB, free: 151.4 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.003024/7.47, allocations: 1.607 MB / 3.775 GB, free: 149.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009255/7.479, allocations: 5.78 MB / 3.781 GB, free: 143.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/7.479, allocations: 0 / 3.781 GB, free: 143.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/7.48, allocations: 0.6447 MB / 3.781 GB, free: 143.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/7.483, allocations: 489.7 kB / 3.782 GB, free: 142.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/7.488, allocations: 2.342 MB / 3.784 GB, free: 140.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/7.488, allocations: 1.377 MB / 3.786 GB, free: 139 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006209/7.495, allocations: 1.241 MB / 3.787 GB, free: 137.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/7.496, allocations: 119.4 kB / 3.787 GB, free: 137.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/7.496, allocations: 0 / 3.787 GB, free: 137.6 MB / 1.151 GB Notification: Performance of Templates: time 0.1069/7.603, allocations: 66.93 MB / 3.852 GB, free: 70.83 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches