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.239/2.239, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001104/0.001103, allocations: 180.3 kB / 487.4 MB, free: 5.027 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.507/1.507, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 91.89 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.206e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3016, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.277/5.579, allocations: 1.917 GB / 3.123 GB, free: 432.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/5.579, allocations: 90.7 kB / 3.123 GB, free: 432.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.868/7.448, allocations: 0.5814 GB / 3.705 GB, free: 279.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.163e-06/7.448, allocations: 0 / 3.705 GB, free: 279.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002162/7.448, allocations: 43.19 kB / 3.705 GB, free: 279.7 MB / 1.151 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.006859/7.455, allocations: 2.086 MB / 3.707 GB, free: 277.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/7.455, allocations: 10.81 kB / 3.707 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/7.459, allocations: 392.6 kB / 3.707 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/7.464, allocations: 2.186 MB / 3.709 GB, free: 275 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/7.464, allocations: 24 kB / 3.709 GB, free: 275 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007804/7.464, allocations: 75.94 kB / 3.709 GB, free: 274.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002052/7.466, allocations: 1.4 MB / 3.711 GB, free: 273.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/7.468, allocations: 1.191 MB / 3.712 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/7.468, allocations: 7.938 kB / 3.712 GB, free: 272.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/7.468, allocations: 7.547 kB / 3.712 GB, free: 272.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/7.468, allocations: 23.03 kB / 3.712 GB, free: 272.2 MB / 1.151 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.01444/7.483, allocations: 6.824 MB / 3.718 GB, free: 265.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/7.486, allocations: 1.414 MB / 3.72 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/7.487, allocations: 0.6504 MB / 3.72 GB, free: 263.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/7.487, allocations: 465.5 kB / 3.721 GB, free: 262.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/7.487, allocations: 35.12 kB / 3.721 GB, free: 262.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.935e-06/7.487, allocations: 0 / 3.721 GB, free: 262.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.006208/7.494, allocations: 1.981 MB / 3.723 GB, free: 260.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/7.494, allocations: 59.91 kB / 3.723 GB, free: 260.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/7.498, allocations: 2.408 MB / 3.725 GB, free: 258.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009/7.499, allocations: 29.7 kB / 3.725 GB, free: 258.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001201/7.5, allocations: 0.6953 MB / 3.726 GB, free: 257.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/7.5, allocations: 185.2 kB / 3.726 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/7.501, allocations: 4 kB / 3.726 GB, free: 257.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001649/7.501, allocations: 377.9 kB / 3.727 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/7.504, allocations: 2.042 MB / 3.729 GB, free: 254.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/7.507, allocations: 2.492 MB / 3.731 GB, free: 252.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/7.512, allocations: 2.072 MB / 3.733 GB, free: 250 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/7.512, allocations: 0 / 3.733 GB, free: 250 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01082/7.523, allocations: 4.611 MB / 3.737 GB, free: 245.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004665/7.524, allocations: 2.065 MB / 3.739 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/7.524, allocations: 4 kB / 3.74 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/7.524, allocations: 112.6 kB / 3.74 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/7.527, allocations: 395.5 kB / 3.74 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/7.528, allocations: 1.275 MB / 3.741 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/7.531, allocations: 297.6 kB / 3.742 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/7.532, allocations: 140 kB / 3.742 GB, free: 241 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/7.532, allocations: 7.938 kB / 3.742 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008493/7.54, allocations: 4.375 MB / 3.746 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/7.541, allocations: 4 kB / 3.746 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/7.541, allocations: 12 kB / 3.746 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/7.543, allocations: 404.1 kB / 3.746 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/7.543, allocations: 15.94 kB / 3.746 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/7.546, allocations: 230.5 kB / 3.747 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/7.546, allocations: 136 kB / 3.747 GB, free: 235.8 MB / 1.151 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.0006059/7.547, allocations: 179.2 kB / 3.747 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/7.547, allocations: 161.7 kB / 3.747 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/7.552, allocations: 2.14 MB / 3.749 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/7.552, allocations: 8 kB / 3.749 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/7.552, allocations: 0 / 3.749 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/7.552, allocations: 7.922 kB / 3.749 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008258/7.561, allocations: 4.005 MB / 3.753 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/7.561, allocations: 4.281 kB / 3.753 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/7.561, allocations: 183.7 kB / 3.753 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/7.562, allocations: 120.8 kB / 3.753 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/7.562, allocations: 27.97 kB / 3.753 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009296/7.563, allocations: 1.275 MB / 3.755 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/7.563, allocations: 4.031 kB / 3.755 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/7.568, allocations: 2.333 MB / 3.757 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/7.569, allocations: 0.5843 MB / 3.757 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005819/7.57, allocations: 4 kB / 3.757 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/7.571, allocations: 95.81 kB / 3.758 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/7.571, allocations: 56.45 kB / 3.758 GB, free: 224.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/7.572, allocations: 91.95 kB / 3.758 GB, free: 224.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002449/7.574, allocations: 1.79 MB / 3.759 GB, free: 222.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.82e-07/7.574, allocations: 0 / 3.759 GB, free: 222.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004219/7.578, allocations: 1.12 MB / 3.761 GB, free: 221.3 MB / 1.151 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.002569/7.581, allocations: 1.774 MB / 3.762 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007429/7.588, allocations: 5.665 MB / 3.768 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/7.588, allocations: 0 / 3.768 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008243/7.589, allocations: 0.6316 MB / 3.768 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/7.591, allocations: 350.1 kB / 3.769 GB, free: 213.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/7.595, allocations: 2.271 MB / 3.771 GB, free: 210.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/7.596, allocations: 1.369 MB / 3.772 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005501/7.601, allocations: 1.162 MB / 3.773 GB, free: 208.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009343/7.602, allocations: 111.4 kB / 3.774 GB, free: 208.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/7.602, allocations: 0 / 3.774 GB, free: 208.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06051/7.663, allocations: 45.91 MB / 3.818 GB, free: 162.4 MB / 1.151 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