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.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 174.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009037/0.0009038, allocations: 94.41 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.358e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1836, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.368/5.552, allocations: 2.204 GB / 3.095 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/5.552, allocations: 91.94 kB / 3.095 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.136/7.687, allocations: 0.5601 GB / 3.655 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.413e-06/7.687, allocations: 0 / 3.655 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001271/7.688, allocations: 38.38 kB / 3.656 GB, free: 181.3 MB / 0.8698 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.004178/7.692, allocations: 1.826 MB / 3.657 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/7.692, allocations: 10 kB / 3.657 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/7.695, allocations: 0.4924 MB / 3.658 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/7.699, allocations: 2.013 MB / 3.66 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/7.699, allocations: 88.94 kB / 3.66 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/7.699, allocations: 129.7 kB / 3.66 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/7.701, allocations: 1.282 MB / 3.661 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/7.701, allocations: 7.062 kB / 3.661 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/7.701, allocations: 32.19 kB / 3.661 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/7.701, allocations: 15.03 kB / 3.661 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/7.703, allocations: 1.466 MB / 3.663 GB, free: 179.8 MB / 0.8698 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.007574/7.71, allocations: 5.838 MB / 3.668 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/7.712, allocations: 1.349 MB / 3.67 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/7.713, allocations: 0.6614 MB / 3.67 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/7.714, allocations: 452.7 kB / 3.671 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/7.714, allocations: 41.69 kB / 3.671 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.374e-06/7.714, allocations: 0 / 3.671 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.002889/7.716, allocations: 1.562 MB / 3.672 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/7.716, allocations: 60 kB / 3.672 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/7.72, allocations: 2.635 MB / 3.675 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003453/7.721, allocations: 61.27 kB / 3.675 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/7.721, allocations: 0.7127 MB / 3.676 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/7.721, allocations: 192.9 kB / 3.676 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/7.721, allocations: 30.38 kB / 3.676 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/7.721, allocations: 380.1 kB / 3.676 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/7.723, allocations: 1.602 MB / 3.678 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/7.725, allocations: 2.079 MB / 3.68 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/7.727, allocations: 1.762 MB / 3.682 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/7.727, allocations: 3.531 kB / 3.682 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007003/7.734, allocations: 3.949 MB / 3.686 GB, free: 175 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006581/7.735, allocations: 2.073 MB / 3.688 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/7.735, allocations: 7.812 kB / 3.688 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/7.736, allocations: 144.6 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/7.738, allocations: 421.3 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008732/7.739, allocations: 1.216 MB / 3.689 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/7.742, allocations: 364.7 kB / 3.69 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/7.742, allocations: 139.5 kB / 3.69 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/7.742, allocations: 6.922 kB / 3.69 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004204/7.746, allocations: 3.742 MB / 3.693 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/7.746, allocations: 7.625 kB / 3.693 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/7.746, allocations: 11.16 kB / 3.693 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/7.748, allocations: 418.2 kB / 3.694 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/7.748, allocations: 17.22 kB / 3.694 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/7.751, allocations: 298.9 kB / 3.694 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/7.751, allocations: 136 kB / 3.694 GB, free: 171.4 MB / 0.8698 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.0003875/7.751, allocations: 222.8 kB / 3.694 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/7.752, allocations: 166.6 kB / 3.695 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/7.754, allocations: 1.785 MB / 3.696 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/7.754, allocations: 7.344 kB / 3.696 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/7.754, allocations: 0 / 3.696 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/7.754, allocations: 3.844 kB / 3.696 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006066/7.761, allocations: 3.742 MB / 3.7 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/7.761, allocations: 3.938 kB / 3.7 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008721/7.761, allocations: 199.8 kB / 3.7 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/7.762, allocations: 122.4 kB / 3.7 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/7.762, allocations: 41.08 kB / 3.7 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005915/7.763, allocations: 1.214 MB / 3.702 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.763, allocations: 6.719 kB / 3.702 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/7.765, allocations: 1.938 MB / 3.703 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/7.766, allocations: 0.6034 MB / 3.704 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/7.767, allocations: 13.38 kB / 3.704 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/7.768, allocations: 120.4 kB / 3.704 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/7.768, allocations: 53.66 kB / 3.704 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/7.768, allocations: 84.5 kB / 3.704 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002595/7.771, allocations: 1.99 MB / 3.706 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/7.771, allocations: 0 / 3.706 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003482/7.775, allocations: 1.047 MB / 3.707 GB, free: 167.8 MB / 0.8698 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.00276/7.777, allocations: 1.608 MB / 3.709 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006137/7.783, allocations: 5.09 MB / 3.714 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/7.784, allocations: 0 / 3.714 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/7.785, allocations: 0.6554 MB / 3.714 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/7.788, allocations: 0.4915 MB / 3.715 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/7.791, allocations: 2.341 MB / 3.717 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/7.792, allocations: 1.365 MB / 3.719 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003716/7.796, allocations: 0.9786 MB / 3.72 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/7.796, allocations: 116 kB / 3.72 GB, free: 164 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-06/7.796, allocations: 7.875 kB / 3.72 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.07028/7.866, allocations: 54.97 MB / 3.773 GB, free: 133.4 MB / 0.8698 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