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.461/2.461, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001501/0.001501, allocations: 187.9 kB / 0.4902 GB, free: 2.234 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.731/1.731, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001021/0.00102, allocations: 98.92 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 7.906 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3821, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.303/5.685, allocations: 1.919 GB / 3.148 GB, free: 34.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/5.685, allocations: 95.17 kB / 3.148 GB, free: 34.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.802/8.487, allocations: 0.5891 GB / 3.737 GB, free: 298.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.435e-06/8.487, allocations: 0 / 3.737 GB, free: 298.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001279/8.488, allocations: 34.28 kB / 3.737 GB, free: 298.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.009693/8.497, allocations: 2.806 MB / 3.74 GB, free: 297.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/8.497, allocations: 6.969 kB / 3.74 GB, free: 297.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/8.502, allocations: 403.4 kB / 3.74 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006418/8.508, allocations: 2.231 MB / 3.742 GB, free: 297.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/8.508, allocations: 91.56 kB / 3.742 GB, free: 297.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008451/8.509, allocations: 123.3 kB / 3.743 GB, free: 297.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/8.512, allocations: 1.356 MB / 3.744 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/8.512, allocations: 0 / 3.744 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/8.512, allocations: 29.19 kB / 3.744 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/8.512, allocations: 21.88 kB / 3.744 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/8.515, allocations: 1.603 MB / 3.745 GB, free: 297.3 MB / 1.167 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.01735/8.532, allocations: 7.032 MB / 3.752 GB, free: 294.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/8.535, allocations: 1.45 MB / 3.754 GB, free: 294.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004638/8.536, allocations: 450.5 kB / 3.754 GB, free: 294.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/8.536, allocations: 45.03 kB / 3.754 GB, free: 294.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/8.536, allocations: 0 / 3.754 GB, free: 294.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.006317/8.542, allocations: 2.504 MB / 3.757 GB, free: 294.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/8.542, allocations: 55.88 kB / 3.757 GB, free: 294.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00678/8.549, allocations: 2.701 MB / 3.759 GB, free: 293.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/8.55, allocations: 60.8 kB / 3.759 GB, free: 293.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/8.552, allocations: 0.701 MB / 3.76 GB, free: 293.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/8.553, allocations: 191.1 kB / 3.76 GB, free: 293.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009733/8.554, allocations: 29.58 kB / 3.76 GB, free: 293.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002135/8.554, allocations: 386.5 kB / 3.761 GB, free: 293.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004343/8.558, allocations: 2.145 MB / 3.763 GB, free: 293.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/8.563, allocations: 2.618 MB / 3.765 GB, free: 292.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/8.567, allocations: 1.738 MB / 3.767 GB, free: 292.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/8.567, allocations: 0 / 3.767 GB, free: 292.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01153/8.579, allocations: 4.462 MB / 3.771 GB, free: 292.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006777/8.579, allocations: 2.076 MB / 3.773 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/8.579, allocations: 7.328 kB / 3.773 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/8.58, allocations: 155 kB / 3.774 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/8.583, allocations: 399.1 kB / 3.774 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/8.584, allocations: 1.233 MB / 3.775 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/8.588, allocations: 342.1 kB / 3.775 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009563/8.589, allocations: 139.9 kB / 3.776 GB, free: 289.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/8.589, allocations: 3.812 kB / 3.776 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009842/8.599, allocations: 4.243 MB / 3.78 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/8.599, allocations: 6.469 kB / 3.78 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/8.599, allocations: 11.47 kB / 3.78 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/8.602, allocations: 401.9 kB / 3.78 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.904e-05/8.602, allocations: 22.78 kB / 3.78 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/8.605, allocations: 281.7 kB / 3.78 GB, free: 288.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007131/8.606, allocations: 141.7 kB / 3.781 GB, free: 288.9 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 () * 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.001636/8.608, allocations: 0.5116 MB / 3.781 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/8.609, allocations: 166.2 kB / 3.781 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/8.613, allocations: 1.923 MB / 3.783 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/8.613, allocations: 4.719 kB / 3.783 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/8.613, allocations: 0 / 3.783 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/8.613, allocations: 11.14 kB / 3.783 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/8.622, allocations: 3.834 MB / 3.787 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/8.622, allocations: 3.188 kB / 3.787 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/8.623, allocations: 179.9 kB / 3.787 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/8.623, allocations: 135.9 kB / 3.787 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/8.623, allocations: 38.17 kB / 3.787 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007868/8.624, allocations: 1.229 MB / 3.788 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/8.624, allocations: 4.844 kB / 3.788 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/8.628, allocations: 2.079 MB / 3.79 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/8.63, allocations: 0.5944 MB / 3.791 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/8.631, allocations: 15.66 kB / 3.791 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/8.634, allocations: 105.5 kB / 3.791 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/8.634, allocations: 48.06 kB / 3.791 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/8.634, allocations: 79.48 kB / 3.791 GB, free: 285 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004205/8.638, allocations: 2.065 MB / 3.793 GB, free: 284.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.132e-06/8.638, allocations: 0 / 3.793 GB, free: 284.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006535/8.645, allocations: 1.212 MB / 3.794 GB, free: 284 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 () * 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.003605/8.648, allocations: 1.603 MB / 3.796 GB, free: 283.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01176/8.66, allocations: 5.94 MB / 3.802 GB, free: 281.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/8.66, allocations: 0 / 3.802 GB, free: 281.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/8.662, allocations: 0.7168 MB / 3.803 GB, free: 281.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/8.666, allocations: 488.9 kB / 3.803 GB, free: 281.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/8.673, allocations: 3.363 MB / 3.806 GB, free: 279.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/8.674, allocations: 1.365 MB / 3.808 GB, free: 278.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005593/8.68, allocations: 0.8819 MB / 3.808 GB, free: 277.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/8.682, allocations: 177 kB / 3.809 GB, free: 277.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/8.682, allocations: 0 / 3.809 GB, free: 277.7 MB / 1.167 GB Notification: Performance of Templates: time 0.08703/8.769, allocations: 61.34 MB / 3.869 GB, free: 219.2 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