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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 166.1 kB / 326.5 MB, free: 2.234 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.792/1.792, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008555/0.0008555, allocations: 97.94 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003594, allocations: 9.312 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2558, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.606/5.862, allocations: 2.204 GB / 3.104 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.862, allocations: 99.59 kB / 3.104 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.663/7.525, allocations: 0.5606 GB / 3.664 GB, free: 89.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.503e-06/7.525, allocations: 0 / 3.664 GB, free: 89.01 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002659/7.525, allocations: 36 kB / 3.664 GB, free: 88.98 MB / 0.8855 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.009799/7.535, allocations: 2.53 MB / 3.667 GB, free: 86.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/7.535, allocations: 12.03 kB / 3.667 GB, free: 86.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/7.54, allocations: 0.4893 MB / 3.667 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/7.545, allocations: 2.06 MB / 3.669 GB, free: 83.78 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/7.545, allocations: 85.31 kB / 3.67 GB, free: 83.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/7.545, allocations: 128 kB / 3.67 GB, free: 83.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/7.548, allocations: 1.389 MB / 3.671 GB, free: 82.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/7.548, allocations: 7.938 kB / 3.671 GB, free: 82.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/7.548, allocations: 28 kB / 3.671 GB, free: 82.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/7.548, allocations: 16 kB / 3.671 GB, free: 82.05 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/7.55, allocations: 1.675 MB / 3.673 GB, free: 80.38 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01046/7.561, allocations: 5.837 MB / 3.678 GB, free: 74.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/7.564, allocations: 1.52 MB / 3.68 GB, free: 72.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/7.564, allocations: 458 kB / 3.68 GB, free: 72.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/7.564, allocations: 39.12 kB / 3.68 GB, free: 72.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.126e-06/7.564, allocations: 0 / 3.68 GB, free: 72.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.005363/7.57, allocations: 2.616 MB / 3.683 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/7.57, allocations: 55.97 kB / 3.683 GB, free: 69.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/7.573, allocations: 2.69 MB / 3.686 GB, free: 66.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/7.573, allocations: 57.7 kB / 3.686 GB, free: 66.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/7.574, allocations: 0.7276 MB / 3.686 GB, free: 65.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/7.574, allocations: 189.2 kB / 3.687 GB, free: 65.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/7.574, allocations: 28 kB / 3.687 GB, free: 65.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001061/7.574, allocations: 393.8 kB / 3.687 GB, free: 65.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/7.576, allocations: 1.714 MB / 3.689 GB, free: 63.67 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/7.579, allocations: 2.184 MB / 3.691 GB, free: 61.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/7.581, allocations: 1.869 MB / 3.693 GB, free: 59.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/7.581, allocations: 0 / 3.693 GB, free: 59.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005495/7.586, allocations: 4.179 MB / 3.697 GB, free: 55.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/7.587, allocations: 2.074 MB / 3.699 GB, free: 52.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/7.587, allocations: 8 kB / 3.699 GB, free: 52.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/7.587, allocations: 160.7 kB / 3.699 GB, free: 52.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/7.589, allocations: 419.4 kB / 3.699 GB, free: 52.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007801/7.59, allocations: 1.224 MB / 3.7 GB, free: 51.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/7.593, allocations: 377.2 kB / 3.701 GB, free: 50.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/7.593, allocations: 140 kB / 3.701 GB, free: 50.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/7.593, allocations: 0 / 3.701 GB, free: 50.63 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004674/7.597, allocations: 3.952 MB / 3.705 GB, free: 46.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/7.598, allocations: 16.03 kB / 3.705 GB, free: 46.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/7.598, allocations: 15.94 kB / 3.705 GB, free: 46.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/7.599, allocations: 415.4 kB / 3.705 GB, free: 46.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/7.599, allocations: 16 kB / 3.705 GB, free: 46.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/7.602, allocations: 298.2 kB / 3.705 GB, free: 45.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/7.602, allocations: 140 kB / 3.706 GB, free: 45.79 MB / 0.8855 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 () * Number of clocked 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.0009969/7.603, allocations: 0.5256 MB / 3.706 GB, free: 45.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/7.603, allocations: 165.7 kB / 3.706 GB, free: 45.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/7.607, allocations: 1.983 MB / 3.708 GB, free: 43.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/7.607, allocations: 11.94 kB / 3.708 GB, free: 43.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/7.607, allocations: 0 / 3.708 GB, free: 43.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/7.607, allocations: 7.938 kB / 3.708 GB, free: 43.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/7.613, allocations: 3.928 MB / 3.712 GB, free: 39.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/7.613, allocations: 4 kB / 3.712 GB, free: 39.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/7.614, allocations: 200.1 kB / 3.712 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/7.614, allocations: 140.7 kB / 3.712 GB, free: 38.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/7.614, allocations: 35.97 kB / 3.712 GB, free: 38.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006754/7.615, allocations: 1.228 MB / 3.714 GB, free: 37.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/7.615, allocations: 3.938 kB / 3.714 GB, free: 37.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/7.618, allocations: 2.148 MB / 3.716 GB, free: 35.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/7.62, allocations: 0.5997 MB / 3.716 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/7.62, allocations: 15.98 kB / 3.716 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/7.621, allocations: 119.8 kB / 3.716 GB, free: 34.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/7.622, allocations: 48.44 kB / 3.717 GB, free: 34.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/7.622, allocations: 91.97 kB / 3.717 GB, free: 34.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002678/7.624, allocations: 2.047 MB / 3.719 GB, free: 32.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/7.624, allocations: 0 / 3.719 GB, free: 32.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003442/7.628, allocations: 1.042 MB / 3.72 GB, free: 31.12 MB / 0.8855 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 () * Number of clocked 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.002458/7.63, allocations: 1.594 MB / 3.721 GB, free: 29.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006104/7.636, allocations: 5.343 MB / 3.726 GB, free: 24.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.636, allocations: 0 / 3.726 GB, free: 24.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/7.638, allocations: 0.7494 MB / 3.727 GB, free: 23.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/7.641, allocations: 498.9 kB / 3.728 GB, free: 22.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/7.645, allocations: 3.382 MB / 3.731 GB, free: 19.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/7.646, allocations: 1.364 MB / 3.732 GB, free: 18.08 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002523/7.648, allocations: 0.6211 MB / 3.733 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/7.649, allocations: 175.3 kB / 3.733 GB, free: 17.29 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/7.649, allocations: 0 / 3.733 GB, free: 17.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.6158/8.265, allocations: 49.23 MB / 3.781 GB, free: 184.8 MB / 0.8855 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