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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 390.5 MB / 398 MB, free: 10.98 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.001382/0.001382, allocations: 191.8 kB / 491.2 MB, free: 1.605 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.775/1.775, allocations: 221.5 MB / 0.7868 GB, free: 13.22 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.001052/0.001051, allocations: 99.88 kB / 0.9269 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.645e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2813, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.691/5.972, allocations: 1.918 GB / 3.13 GB, free: 345.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/5.973, allocations: 88.17 kB / 3.13 GB, free: 345.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.844/7.817, allocations: 0.5814 GB / 3.712 GB, free: 214.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/7.817, allocations: 4 kB / 3.712 GB, free: 214.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000209/7.817, allocations: 39.69 kB / 3.712 GB, free: 214.6 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.006073/7.823, allocations: 2.084 MB / 3.714 GB, free: 212.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/7.823, allocations: 8.031 kB / 3.714 GB, free: 212.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/7.826, allocations: 403.9 kB / 3.714 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/7.831, allocations: 2.19 MB / 3.716 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/7.831, allocations: 20 kB / 3.716 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006175/7.831, allocations: 79.95 kB / 3.716 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00184/7.833, allocations: 1.392 MB / 3.718 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/7.835, allocations: 1.196 MB / 3.719 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/7.835, allocations: 3.938 kB / 3.719 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/7.835, allocations: 4 kB / 3.719 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/7.835, allocations: 16 kB / 3.719 GB, free: 207.1 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.01182/7.847, allocations: 6.841 MB / 3.726 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/7.849, allocations: 1.413 MB / 3.727 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/7.85, allocations: 0.6522 MB / 3.728 GB, free: 198.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000414/7.85, allocations: 453.6 kB / 3.728 GB, free: 197.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/7.85, allocations: 35.12 kB / 3.728 GB, free: 197.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.106e-06/7.85, allocations: 0 / 3.728 GB, free: 197.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.00526/7.856, allocations: 1.989 MB / 3.73 GB, free: 195.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/7.856, allocations: 59.97 kB / 3.73 GB, free: 195.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/7.859, allocations: 2.404 MB / 3.732 GB, free: 193 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005521/7.859, allocations: 25.7 kB / 3.732 GB, free: 192.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007735/7.86, allocations: 0.6992 MB / 3.733 GB, free: 192.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/7.86, allocations: 189.2 kB / 3.733 GB, free: 192 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/7.861, allocations: 0 / 3.733 GB, free: 192 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001192/7.861, allocations: 377.9 kB / 3.734 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/7.863, allocations: 2.038 MB / 3.736 GB, free: 189.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/7.866, allocations: 2.499 MB / 3.738 GB, free: 186.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/7.87, allocations: 2.072 MB / 3.74 GB, free: 184.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/7.87, allocations: 7.938 kB / 3.74 GB, free: 184.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008137/7.878, allocations: 4.607 MB / 3.745 GB, free: 180.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003994/7.879, allocations: 2.054 MB / 3.747 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/7.879, allocations: 4 kB / 3.747 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/7.879, allocations: 116.9 kB / 3.747 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/7.881, allocations: 391.4 kB / 3.747 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/7.882, allocations: 1.286 MB / 3.748 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/7.885, allocations: 305.6 kB / 3.749 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/7.886, allocations: 140 kB / 3.749 GB, free: 175.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/7.886, allocations: 4 kB / 3.749 GB, free: 175.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00724/7.893, allocations: 4.36 MB / 3.753 GB, free: 171.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/7.893, allocations: 4 kB / 3.753 GB, free: 171.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/7.893, allocations: 16 kB / 3.753 GB, free: 171.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/7.895, allocations: 400 kB / 3.753 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/7.895, allocations: 15.98 kB / 3.753 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/7.898, allocations: 230.5 kB / 3.754 GB, free: 170.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/7.898, allocations: 140 kB / 3.754 GB, free: 170.6 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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.0005519/7.899, allocations: 169.8 kB / 3.754 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000727/7.899, allocations: 161.8 kB / 3.754 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/7.904, allocations: 2.145 MB / 3.756 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/7.904, allocations: 8 kB / 3.756 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/7.904, allocations: 0 / 3.756 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/7.904, allocations: 3.984 kB / 3.756 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/7.913, allocations: 4.01 MB / 3.76 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/7.913, allocations: 4.031 kB / 3.76 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/7.913, allocations: 179.8 kB / 3.76 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/7.914, allocations: 116.8 kB / 3.76 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/7.914, allocations: 40.03 kB / 3.76 GB, free: 163.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009473/7.915, allocations: 1.279 MB / 3.762 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/7.915, allocations: 3.938 kB / 3.762 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/7.92, allocations: 2.325 MB / 3.764 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/7.921, allocations: 0.5881 MB / 3.765 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00067/7.922, allocations: 3.953 kB / 3.765 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/7.923, allocations: 91.88 kB / 3.765 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/7.923, allocations: 52.47 kB / 3.765 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/7.923, allocations: 83.97 kB / 3.765 GB, free: 159.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002617/7.926, allocations: 1.794 MB / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/7.926, allocations: 0 / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004798/7.931, allocations: 1.124 MB / 3.768 GB, free: 156.2 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.002944/7.934, allocations: 1.783 MB / 3.769 GB, free: 154.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007928/7.942, allocations: 5.657 MB / 3.775 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/7.942, allocations: 0 / 3.775 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008896/7.943, allocations: 0.6356 MB / 3.776 GB, free: 148.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/7.945, allocations: 353.5 kB / 3.776 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/7.949, allocations: 2.263 MB / 3.778 GB, free: 145.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/7.95, allocations: 1.376 MB / 3.779 GB, free: 144.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005973/7.956, allocations: 1.169 MB / 3.781 GB, free: 142.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/7.958, allocations: 115.4 kB / 3.781 GB, free: 142.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.823e-06/7.958, allocations: 0 / 3.781 GB, free: 142.8 MB / 1.151 GB Notification: Performance of Templates: time 0.065/8.023, allocations: 45.9 MB / 3.826 GB, free: 97.01 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