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.264/2.264, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001247/0.001247, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001054/0.001054, allocations: 91.89 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.094e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/6.024, allocations: 1.919 GB / 3.137 GB, free: 340.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/6.025, allocations: 97.61 kB / 3.137 GB, free: 340.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.925/7.95, allocations: 0.5886 GB / 3.726 GB, free: 205.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.834e-06/7.95, allocations: 0 / 3.726 GB, free: 205.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002494/7.95, allocations: 39.94 kB / 3.726 GB, free: 205.9 MB / 1.167 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.007537/7.958, allocations: 2.081 MB / 3.728 GB, free: 203.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/7.958, allocations: 12.03 kB / 3.728 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/7.962, allocations: 397.1 kB / 3.728 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/7.968, allocations: 2.193 MB / 3.731 GB, free: 201.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/7.968, allocations: 89.31 kB / 3.731 GB, free: 201 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/7.969, allocations: 132 kB / 3.731 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/7.971, allocations: 1.284 MB / 3.732 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/7.971, allocations: 0 / 3.732 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/7.971, allocations: 28 kB / 3.732 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/7.971, allocations: 16 kB / 3.732 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/7.973, allocations: 1.469 MB / 3.733 GB, free: 198 MB / 1.167 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.0153/7.989, allocations: 7.046 MB / 3.74 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/7.991, allocations: 1.338 MB / 3.742 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009183/7.992, allocations: 0.6583 MB / 3.742 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/7.992, allocations: 458 kB / 3.743 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/7.992, allocations: 39.12 kB / 3.743 GB, free: 188.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/7.992, allocations: 0 / 3.743 GB, free: 188.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.004075/7.997, allocations: 1.56 MB / 3.744 GB, free: 186.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/7.997, allocations: 55.97 kB / 3.744 GB, free: 186.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00501/8.002, allocations: 2.642 MB / 3.747 GB, free: 183.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009332/8.003, allocations: 61.7 kB / 3.747 GB, free: 183.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/8.004, allocations: 0.6964 MB / 3.748 GB, free: 183 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/8.004, allocations: 197.1 kB / 3.748 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007868/8.005, allocations: 35.98 kB / 3.748 GB, free: 182.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002043/8.005, allocations: 381.8 kB / 3.748 GB, free: 182.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/8.008, allocations: 2.061 MB / 3.75 GB, free: 180.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/8.012, allocations: 2.539 MB / 3.753 GB, free: 177.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/8.015, allocations: 1.659 MB / 3.754 GB, free: 176 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/8.015, allocations: 8 kB / 3.754 GB, free: 176 MB / 1.167 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009119/8.024, allocations: 4.287 MB / 3.759 GB, free: 171.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005235/8.025, allocations: 2.077 MB / 3.761 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/8.025, allocations: 4 kB / 3.761 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007013/8.025, allocations: 144.8 kB / 3.761 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/8.028, allocations: 407.4 kB / 3.761 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008213/8.029, allocations: 1.212 MB / 3.762 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/8.033, allocations: 353.3 kB / 3.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008442/8.034, allocations: 140 kB / 3.763 GB, free: 167.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/8.034, allocations: 5.406 kB / 3.763 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007468/8.041, allocations: 4.087 MB / 3.767 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/8.042, allocations: 12.61 kB / 3.767 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/8.042, allocations: 12 kB / 3.767 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/8.044, allocations: 399.5 kB / 3.767 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/8.044, allocations: 19.92 kB / 3.767 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/8.047, allocations: 278.2 kB / 3.767 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/8.048, allocations: 139.9 kB / 3.768 GB, free: 162.2 MB / 1.167 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.0006606/8.048, allocations: 213.8 kB / 3.768 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/8.049, allocations: 169.7 kB / 3.768 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/8.052, allocations: 1.79 MB / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/8.052, allocations: 7.984 kB / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/8.052, allocations: 0 / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/8.052, allocations: 3.938 kB / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006999/8.059, allocations: 3.699 MB / 3.773 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/8.059, allocations: 0 / 3.773 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/8.06, allocations: 184.1 kB / 3.774 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003585/8.06, allocations: 124.7 kB / 3.774 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/8.061, allocations: 39.97 kB / 3.774 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006415/8.061, allocations: 1.209 MB / 3.775 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/8.061, allocations: 8.141 kB / 3.775 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/8.064, allocations: 1.935 MB / 3.777 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/8.066, allocations: 0.6113 MB / 3.777 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007607/8.067, allocations: 12 kB / 3.777 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/8.068, allocations: 99.88 kB / 3.777 GB, free: 151.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/8.069, allocations: 56.42 kB / 3.778 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/8.069, allocations: 79.97 kB / 3.778 GB, free: 151.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003353/8.072, allocations: 2.006 MB / 3.78 GB, free: 149.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/8.072, allocations: 0 / 3.78 GB, free: 149.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006232/8.078, allocations: 1.21 MB / 3.781 GB, free: 148.4 MB / 1.167 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.003339/8.082, allocations: 1.602 MB / 3.782 GB, free: 146.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01/8.092, allocations: 5.785 MB / 3.788 GB, free: 141 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/8.092, allocations: 0 / 3.788 GB, free: 141 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/8.093, allocations: 0.6473 MB / 3.789 GB, free: 140.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/8.096, allocations: 496.7 kB / 3.789 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/8.101, allocations: 2.334 MB / 3.791 GB, free: 137.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009469/8.102, allocations: 1.367 MB / 3.793 GB, free: 136 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007009/8.109, allocations: 1.238 MB / 3.794 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/8.111, allocations: 119.4 kB / 3.794 GB, free: 134.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.643e-06/8.111, allocations: 0 / 3.794 GB, free: 134.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0914/8.202, allocations: 66.96 MB / 3.859 GB, free: 67.86 MB / 1.167 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