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.383/1.383, allocations: 249.5 MB / 257 MB, free: 6.863 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.0009652/0.0009653, allocations: 176.9 kB / 316.3 MB, free: 3.211 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.436/1.436, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008812/0.0008811, allocations: 86.53 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.005e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.602, allocations: 2.204 GB / 3.089 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/5.602, allocations: 94.98 kB / 3.089 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.012/7.614, allocations: 0.5529 GB / 3.642 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/7.614, allocations: 0 / 3.642 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001238/7.614, allocations: 45.22 kB / 3.642 GB, free: 185.1 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.00384/7.618, allocations: 1.82 MB / 3.644 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/7.618, allocations: 7.844 kB / 3.644 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/7.622, allocations: 0.4972 MB / 3.644 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/7.625, allocations: 2.002 MB / 3.646 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/7.625, allocations: 25.28 kB / 3.646 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/7.625, allocations: 76.56 kB / 3.646 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001978/7.627, allocations: 1.398 MB / 3.648 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/7.629, allocations: 1.199 MB / 3.649 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/7.629, allocations: 10.75 kB / 3.649 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/7.629, allocations: 0 / 3.649 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/7.629, allocations: 24.89 kB / 3.649 GB, free: 183.7 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.007603/7.637, allocations: 5.616 MB / 3.654 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/7.639, allocations: 1.489 MB / 3.656 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/7.64, allocations: 0.6594 MB / 3.657 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004691/7.641, allocations: 450.2 kB / 3.657 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/7.641, allocations: 42.56 kB / 3.657 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.446e-06/7.641, allocations: 0 / 3.657 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.005329/7.646, allocations: 1.993 MB / 3.659 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/7.646, allocations: 55.94 kB / 3.659 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/7.65, allocations: 2.401 MB / 3.661 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/7.65, allocations: 29.48 kB / 3.661 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/7.65, allocations: 0.693 MB / 3.662 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/7.651, allocations: 186 kB / 3.662 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/7.651, allocations: 0 / 3.662 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/7.651, allocations: 385.7 kB / 3.663 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/7.653, allocations: 1.575 MB / 3.664 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/7.655, allocations: 2.036 MB / 3.666 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/7.659, allocations: 2.168 MB / 3.668 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/7.659, allocations: 6.469 kB / 3.668 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007281/7.666, allocations: 4.259 MB / 3.672 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004696/7.667, allocations: 2.063 MB / 3.674 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/7.667, allocations: 6.875 kB / 3.674 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/7.667, allocations: 107 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/7.669, allocations: 413.8 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/7.67, allocations: 1.272 MB / 3.676 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/7.673, allocations: 317.5 kB / 3.676 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/7.673, allocations: 141 kB / 3.677 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/7.673, allocations: 5.688 kB / 3.677 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006359/7.679, allocations: 4.019 MB / 3.681 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/7.679, allocations: 3.656 kB / 3.681 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/7.679, allocations: 16.94 kB / 3.681 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/7.681, allocations: 418.6 kB / 3.681 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/7.681, allocations: 13.25 kB / 3.681 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/7.684, allocations: 251.5 kB / 3.681 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/7.684, allocations: 140.7 kB / 3.681 GB, free: 175.6 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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 (195): * Single equations (assignments): 190 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005501/7.685, allocations: 183.8 kB / 3.682 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/7.685, allocations: 153.8 kB / 3.682 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/7.691, allocations: 2.15 MB / 3.684 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/7.691, allocations: 7.625 kB / 3.684 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/7.691, allocations: 2.844 kB / 3.684 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/7.691, allocations: 3.891 kB / 3.684 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008214/7.699, allocations: 4.055 MB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/7.699, allocations: 2.312 kB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/7.7, allocations: 207 kB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/7.7, allocations: 119.9 kB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/7.7, allocations: 30.97 kB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009729/7.701, allocations: 1.286 MB / 3.689 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/7.701, allocations: 0 / 3.689 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/7.706, allocations: 2.33 MB / 3.692 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/7.707, allocations: 0.5912 MB / 3.692 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/7.708, allocations: 3.594 kB / 3.692 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/7.709, allocations: 105.3 kB / 3.692 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/7.709, allocations: 53.09 kB / 3.692 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/7.709, allocations: 85.47 kB / 3.692 GB, free: 173 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002121/7.711, allocations: 1.791 MB / 3.694 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.372e-06/7.711, allocations: 0 / 3.694 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002874/7.714, allocations: 0.9582 MB / 3.695 GB, free: 172.7 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.002502/7.717, allocations: 1.765 MB / 3.697 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005091/7.722, allocations: 4.967 MB / 3.702 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/7.722, allocations: 3.594 kB / 3.702 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/7.723, allocations: 0.6484 MB / 3.702 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/7.725, allocations: 353.6 kB / 3.703 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/7.729, allocations: 2.258 MB / 3.705 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/7.73, allocations: 1.369 MB / 3.706 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003498/7.733, allocations: 0.9058 MB / 3.707 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/7.733, allocations: 109.5 kB / 3.707 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/7.733, allocations: 0.75 kB / 3.707 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05604/7.789, allocations: 36.7 MB / 3.743 GB, free: 165.7 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