Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|exhDamPos.yExhDamPos|exhDamPos.conP.y|exhDamPos1.yExhDamPos|exhDamPos1.conP.y|exhDamPos2.yExhDamPos|exhDamPos2.conP.y|exhDamPos.dpBui|exhDamPos.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|exhDamPos.yExhDamPos|exhDamPos.conP.y|exhDamPos1.yExhDamPos|exhDamPos1.conP.y|exhDamPos2.yExhDamPos|exhDamPos2.conP.y|exhDamPos.dpBui|exhDamPos.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 180.7 kB / 326.5 MB, free: 2.242 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.947/1.947, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0008523/0.0008524, allocations: 86.02 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 11.06 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 106.3 MB / 0.9002 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.3803, allocations: 135 MB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.3806, allocations: 83.92 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03218/0.4128, allocations: 13.36 MB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4129, allocations: 0 / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.4129, allocations: 16 kB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001608/0.4145, allocations: 0.9865 MB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4146, allocations: 15.97 kB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.4147, allocations: 82.97 kB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.4154, allocations: 472.6 kB / 1.047 GB, free: 9.973 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.4155, allocations: 130.4 kB / 1.047 GB, free: 9.828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.4156, allocations: 60 kB / 1.047 GB, free: 9.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.4168, allocations: 0.6487 MB / 1.047 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4168, allocations: 0 / 1.047 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.4168, allocations: 24 kB / 1.047 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.4169, allocations: 23.94 kB / 1.047 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.4179, allocations: 0.5243 MB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.4208, allocations: 2.071 MB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.4223, allocations: 0.6081 MB / 1.051 GB, free: 5.773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.4224, allocations: 12.36 kB / 1.051 GB, free: 5.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006591/0.423, allocations: 313.1 kB / 1.051 GB, free: 5.445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 2.195e-06/0.423, allocations: 0 / 1.051 GB, free: 5.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.001541/0.4246, allocations: 0.713 MB / 1.052 GB, free: 4.727 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.4247, allocations: 144.9 kB / 1.052 GB, free: 4.555 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.4254, allocations: 0.5347 MB / 1.052 GB, free: 4.016 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.4254, allocations: 37.7 kB / 1.052 GB, free: 3.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4257, allocations: 312.5 kB / 1.053 GB, free: 3.664 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4258, allocations: 162 kB / 1.053 GB, free: 3.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.4259, allocations: 12 kB / 1.053 GB, free: 3.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.426, allocations: 378.8 kB / 1.053 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.4265, allocations: 216.9 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.427, allocations: 298.1 kB / 1.054 GB, free: 2.578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.4275, allocations: 232.2 kB / 1.054 GB, free: 2.355 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4275, allocations: 0 / 1.054 GB, free: 2.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001117/0.4286, allocations: 0.6039 MB / 1.054 GB, free: 1.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.4288, allocations: 360.5 kB / 1.055 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4288, allocations: 4 kB / 1.055 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4288, allocations: 0 / 1.055 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.4293, allocations: 115.8 kB / 1.055 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4293, allocations: 4 kB / 1.055 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.4297, allocations: 103.4 kB / 1.055 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.4298, allocations: 19.98 kB / 1.055 GB, free: 1.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.4298, allocations: 8 kB / 1.055 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006879/0.4305, allocations: 414.4 kB / 1.055 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4305, allocations: 4.062 kB / 1.055 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.4305, allocations: 4 kB / 1.055 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.4308, allocations: 95.83 kB / 1.056 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4309, allocations: 8 kB / 1.056 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.4311, allocations: 79.41 kB / 1.056 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4312, allocations: 16 kB / 1.056 GB, free: 0.5156 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003631/0.4315, allocations: 289 kB / 1.056 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.4317, allocations: 71.11 kB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.4319, allocations: 71.08 kB / 1.056 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4319, allocations: 8 kB / 1.056 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4319, allocations: 0 / 1.056 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4319, allocations: 3.984 kB / 1.056 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.476/0.9079, allocations: 0.6706 MB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.908, allocations: 0 / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.9085, allocations: 98.88 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.9085, allocations: 2.266 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.9086, allocations: 16.42 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9086, allocations: 1.25 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9086, allocations: 9.328 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.9101, allocations: 0.8336 MB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.9102, allocations: 155 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.9103, allocations: 8.031 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.9106, allocations: 59.95 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.9107, allocations: 30.94 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.9107, allocations: 13.97 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004763/0.9112, allocations: 435.2 kB / 1.058 GB, free: 146.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9112, allocations: 0 / 1.058 GB, free: 146.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005917/0.9118, allocations: 217.7 kB / 1.059 GB, free: 146.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.912, allocations: 118.6 kB / 1.059 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.9133, allocations: 0.7154 MB / 1.059 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9133, allocations: 2.875 kB / 1.059 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.9137, allocations: 248.7 kB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.9144, allocations: 145.2 kB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.9162, allocations: 1.263 MB / 1.061 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.9165, allocations: 0.9128 MB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003328/0.9169, allocations: 80.2 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.917, allocations: 48.94 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.917, allocations: 3 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01792/0.9349, allocations: 6.666 MB / 1.068 GB, free: 144.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches