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.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.98 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.0009884/0.0009886, allocations: 174.6 kB / 321.3 MB, free: 14.66 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.302/1.302, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008077/0.000808, allocations: 82.55 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.195e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1896, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6842/0.8739, allocations: 134.9 MB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.8741, allocations: 88.17 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.9053, allocations: 13.31 MB / 1.037 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9054, allocations: 0 / 1.037 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.555e-05/0.9054, allocations: 23.92 kB / 1.037 GB, free: 4.727 MB / 0.6511 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.001334/0.9067, allocations: 0.8873 MB / 1.038 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.9068, allocations: 8.031 kB / 1.038 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.9069, allocations: 82.97 kB / 1.038 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.9076, allocations: 471.2 kB / 1.038 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.9078, allocations: 126.7 kB / 1.038 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.9079, allocations: 71.98 kB / 1.038 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/0.9088, allocations: 0.5784 MB / 1.039 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.9088, allocations: 0 / 1.039 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.9089, allocations: 28.5 kB / 1.039 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.9089, allocations: 16 kB / 1.039 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.9096, allocations: 420.2 kB / 1.039 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.9123, allocations: 2.075 MB / 1.041 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.9133, allocations: 482.6 kB / 1.042 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.9136, allocations: 200 kB / 1.042 GB, free: 444 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.9136, allocations: 4.375 kB / 1.042 GB, free: 440 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.914, allocations: 254.4 kB / 1.042 GB, free: 252 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.9141, allocations: 3.938 kB / 1.042 GB, free: 248 kB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.0007432/0.9148, allocations: 426.1 kB / 1.043 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.9149, allocations: 136.9 kB / 1.043 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.9156, allocations: 0.5265 MB / 1.043 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.9157, allocations: 39.27 kB / 1.043 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.9159, allocations: 324.4 kB / 1.044 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.916, allocations: 169.3 kB / 1.044 GB, free: 15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.916, allocations: 11.06 kB / 1.044 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9162, allocations: 374.6 kB / 1.044 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.9164, allocations: 148.6 kB / 1.044 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.9167, allocations: 241.5 kB / 1.045 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.917, allocations: 168.4 kB / 1.045 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.917, allocations: 0 / 1.045 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006478/0.9176, allocations: 484.8 kB / 1.045 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.9178, allocations: 366 kB / 1.045 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9178, allocations: 0 / 1.045 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9178, allocations: 4 kB / 1.045 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.9183, allocations: 119.7 kB / 1.046 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9183, allocations: 4 kB / 1.046 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.9187, allocations: 98.52 kB / 1.046 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.9187, allocations: 22.69 kB / 1.046 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.9187, allocations: 4 kB / 1.046 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005238/0.9193, allocations: 370.8 kB / 1.046 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.9193, allocations: 4 kB / 1.046 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.9193, allocations: 4 kB / 1.046 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.9197, allocations: 94.7 kB / 1.046 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.9197, allocations: 4 kB / 1.046 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.92, allocations: 81.86 kB / 1.046 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.92, allocations: 18.31 kB / 1.046 GB, free: 12.91 MB / 0.6667 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 () * 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.0001197/0.9201, allocations: 131.6 kB / 1.046 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.9202, allocations: 71.11 kB / 1.046 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.9204, allocations: 68.23 kB / 1.047 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9204, allocations: 8 kB / 1.047 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9204, allocations: 4 kB / 1.047 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.9204, allocations: 3.984 kB / 1.047 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.9211, allocations: 0.6777 MB / 1.047 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.9211, allocations: 0 / 1.047 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.9215, allocations: 103.2 kB / 1.047 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.9215, allocations: 11.95 kB / 1.047 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.9216, allocations: 3.375 kB / 1.047 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.9216, allocations: 4 kB / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9216, allocations: 0 / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000958/0.9226, allocations: 0.6711 MB / 1.048 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.9227, allocations: 154.2 kB / 1.048 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.9228, allocations: 15.83 kB / 1.048 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.9231, allocations: 58.58 kB / 1.048 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.9232, allocations: 28.33 kB / 1.048 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.9232, allocations: 15.94 kB / 1.048 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005103/0.9237, allocations: 430.4 kB / 1.049 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9237, allocations: 4 kB / 1.049 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005411/0.9243, allocations: 208.7 kB / 1.049 GB, free: 10.8 MB / 0.6667 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 () * 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.0001887/0.9245, allocations: 126.4 kB / 1.049 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008822/0.9254, allocations: 0.6012 MB / 1.05 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9254, allocations: 3.562 kB / 1.05 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.9257, allocations: 195.8 kB / 1.05 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.9263, allocations: 148.5 kB / 1.05 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.9277, allocations: 0.7976 MB / 1.051 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.9281, allocations: 0.9088 MB / 1.052 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004656/0.9286, allocations: 123.7 kB / 1.052 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.9287, allocations: 35.44 kB / 1.052 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of SimCode: time 3.61e-07/0.9287, allocations: 0 / 1.052 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of Templates: time 0.01296/0.9417, allocations: 7.671 MB / 1.059 GB, free: 0.6953 MB / 0.6667 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