Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001153/0.001153, allocations: 191.2 kB / 498.1 MB, free: 5.684 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.622/1.622, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001416/0.001416, allocations: 99.8 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004468, allocations: 14.19 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.328/5.678, allocations: 1.918 GB / 3.141 GB, free: 69.83 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/5.678, allocations: 98.75 kB / 3.141 GB, free: 69.77 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.819/8.498, allocations: 0.5891 GB / 3.73 GB, free: 301.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.014e-06/8.498, allocations: 0 / 3.73 GB, free: 301.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001258/8.498, allocations: 42.02 kB / 3.73 GB, free: 301.8 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.009007/8.507, allocations: 2.791 MB / 3.733 GB, free: 300.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/8.507, allocations: 14.55 kB / 3.733 GB, free: 300.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/8.511, allocations: 394.3 kB / 3.733 GB, free: 300.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/8.516, allocations: 2.237 MB / 3.735 GB, free: 300.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/8.517, allocations: 85.47 kB / 3.735 GB, free: 300.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/8.517, allocations: 126.9 kB / 3.735 GB, free: 300.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/8.519, allocations: 1.356 MB / 3.737 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/8.519, allocations: 5.5 kB / 3.737 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/8.519, allocations: 27.62 kB / 3.737 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/8.519, allocations: 17.75 kB / 3.737 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/8.522, allocations: 1.598 MB / 3.738 GB, free: 300.1 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.01447/8.536, allocations: 7.044 MB / 3.745 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/8.539, allocations: 1.454 MB / 3.747 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/8.54, allocations: 450.7 kB / 3.747 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/8.54, allocations: 40.31 kB / 3.747 GB, free: 297.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/8.54, allocations: 0 / 3.747 GB, free: 297.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.007063/8.547, allocations: 2.502 MB / 3.75 GB, free: 297 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/8.547, allocations: 64.28 kB / 3.75 GB, free: 297 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/8.551, allocations: 2.696 MB / 3.752 GB, free: 296.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007958/8.552, allocations: 62.95 kB / 3.752 GB, free: 296.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/8.553, allocations: 0.7091 MB / 3.753 GB, free: 296.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/8.553, allocations: 191.6 kB / 3.753 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/8.553, allocations: 31.56 kB / 3.753 GB, free: 296.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000112/8.553, allocations: 378.1 kB / 3.754 GB, free: 296.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/8.557, allocations: 2.142 MB / 3.756 GB, free: 296.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/8.56, allocations: 2.616 MB / 3.758 GB, free: 295.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/8.563, allocations: 1.741 MB / 3.76 GB, free: 295.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/8.563, allocations: 3.953 kB / 3.76 GB, free: 295.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008197/8.571, allocations: 4.456 MB / 3.764 GB, free: 295.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004564/8.572, allocations: 2.077 MB / 3.766 GB, free: 293.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/8.572, allocations: 5.656 kB / 3.766 GB, free: 293.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/8.573, allocations: 163.2 kB / 3.766 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/8.575, allocations: 399.7 kB / 3.767 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007875/8.576, allocations: 1.23 MB / 3.768 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/8.579, allocations: 348.9 kB / 3.768 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/8.579, allocations: 138.1 kB / 3.768 GB, free: 292.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/8.579, allocations: 3.812 kB / 3.768 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006967/8.586, allocations: 4.246 MB / 3.773 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/8.586, allocations: 11 kB / 3.773 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/8.586, allocations: 12.31 kB / 3.773 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/8.588, allocations: 398.3 kB / 3.773 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/8.589, allocations: 21.05 kB / 3.773 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/8.592, allocations: 278.5 kB / 3.773 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/8.592, allocations: 138.4 kB / 3.773 GB, free: 292 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.001153/8.593, allocations: 0.5235 MB / 3.774 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007404/8.594, allocations: 170.1 kB / 3.774 GB, free: 291.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/8.597, allocations: 1.908 MB / 3.776 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/8.597, allocations: 3.969 kB / 3.776 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/8.597, allocations: 3.938 kB / 3.776 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/8.597, allocations: 6.438 kB / 3.776 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006676/8.604, allocations: 3.829 MB / 3.78 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/8.604, allocations: 3.281 kB / 3.78 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/8.605, allocations: 182.3 kB / 3.78 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/8.605, allocations: 139.1 kB / 3.78 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/8.605, allocations: 44.66 kB / 3.78 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007087/8.606, allocations: 1.224 MB / 3.781 GB, free: 290 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/8.606, allocations: 7.594 kB / 3.781 GB, free: 290 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/8.61, allocations: 2.068 MB / 3.783 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/8.611, allocations: 0.608 MB / 3.784 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/8.612, allocations: 18.41 kB / 3.784 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/8.613, allocations: 100.5 kB / 3.784 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/8.613, allocations: 50.89 kB / 3.784 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/8.614, allocations: 81.41 kB / 3.784 GB, free: 289.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003001/8.617, allocations: 2.055 MB / 3.786 GB, free: 289.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.617, allocations: 3.594 kB / 3.786 GB, free: 289.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005295/8.622, allocations: 1.206 MB / 3.787 GB, free: 289.1 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.002791/8.625, allocations: 1.6 MB / 3.789 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01011/8.635, allocations: 5.955 MB / 3.795 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/8.635, allocations: 0 / 3.795 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/8.636, allocations: 0.7117 MB / 3.795 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/8.639, allocations: 0.4907 MB / 3.796 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/8.644, allocations: 3.343 MB / 3.799 GB, free: 287.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/8.644, allocations: 1.375 MB / 3.8 GB, free: 286.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004441/8.649, allocations: 0.873 MB / 3.801 GB, free: 286.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/8.65, allocations: 177.2 kB / 3.802 GB, free: 286.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.422e-06/8.65, allocations: 0 / 3.802 GB, free: 286.4 MB / 1.167 GB Notification: Performance of Templates: time 0.0821/8.732, allocations: 61.33 MB / 3.861 GB, free: 253 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches