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.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.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.001262/0.001262, allocations: 188.5 kB / 316.3 MB, free: 3.215 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.565/1.565, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009748/0.0009747, allocations: 94.52 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.056e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8873/1.144, allocations: 135.2 MB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.145, allocations: 76.5 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03195/1.177, allocations: 13.22 MB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.333e-06/1.177, allocations: 0 / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.191e-05/1.177, allocations: 20 kB / 1.03 GB, free: 7.68 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.001502/1.178, allocations: 0.8845 MB / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.178, allocations: 12.03 kB / 1.031 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/1.178, allocations: 82.97 kB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/1.179, allocations: 479.3 kB / 1.032 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.179, allocations: 106.4 kB / 1.032 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/1.179, allocations: 36 kB / 1.032 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007124/1.18, allocations: 399 kB / 1.032 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/1.181, allocations: 0.4944 MB / 1.033 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.181, allocations: 0 / 1.033 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/1.181, allocations: 7.938 kB / 1.033 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.181, allocations: 12 kB / 1.033 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/1.184, allocations: 1.913 MB / 1.035 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.185, allocations: 458.9 kB / 1.035 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/1.185, allocations: 185.7 kB / 1.035 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/1.185, allocations: 16.12 kB / 1.035 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/1.186, allocations: 229.8 kB / 1.035 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 2.084e-06/1.186, allocations: 0 / 1.035 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.000782/1.186, allocations: 385.1 kB / 1.036 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.187, allocations: 145.3 kB / 1.036 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/1.187, allocations: 372.4 kB / 1.036 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/1.187, allocations: 29.7 kB / 1.036 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/1.187, allocations: 332.3 kB / 1.037 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.188, allocations: 153 kB / 1.037 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/1.188, allocations: 0 / 1.037 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.188, allocations: 367.6 kB / 1.037 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/1.188, allocations: 138.8 kB / 1.037 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/1.188, allocations: 238.4 kB / 1.038 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/1.189, allocations: 160.4 kB / 1.038 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.189, allocations: 0 / 1.038 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006611/1.189, allocations: 440.4 kB / 1.038 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/1.189, allocations: 369.9 kB / 1.038 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.189, allocations: 0 / 1.038 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.19, allocations: 4 kB / 1.038 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/1.19, allocations: 111.5 kB / 1.039 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.19, allocations: 4 kB / 1.039 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/1.19, allocations: 83.53 kB / 1.039 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/1.19, allocations: 15.86 kB / 1.039 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.19, allocations: 6.031 kB / 1.039 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004923/1.191, allocations: 336.6 kB / 1.039 GB, free: 496 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.191, allocations: 3.953 kB / 1.039 GB, free: 492 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/1.191, allocations: 4 kB / 1.039 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/1.191, allocations: 95.83 kB / 1.039 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.191, allocations: 4 kB / 1.039 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/1.192, allocations: 51.66 kB / 1.039 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/1.192, allocations: 19.88 kB / 1.039 GB, free: 324 kB / 0.6511 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.0001402/1.192, allocations: 119.6 kB / 1.039 GB, free: 204 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/1.192, allocations: 51.34 kB / 1.039 GB, free: 152 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/1.192, allocations: 58.23 kB / 1.039 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.192, allocations: 11.94 kB / 1.039 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.192, allocations: 0 / 1.039 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.192, allocations: 3.984 kB / 1.039 GB, free: 96 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/1.193, allocations: 0.5717 MB / 1.04 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.193, allocations: 0 / 1.04 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/1.193, allocations: 107.8 kB / 1.04 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.193, allocations: 3.938 kB / 1.04 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/1.193, allocations: 4 kB / 1.04 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.193, allocations: 0 / 1.04 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.193, allocations: 3.953 kB / 1.04 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/1.194, allocations: 0.629 MB / 1.041 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/1.194, allocations: 127.8 kB / 1.041 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/1.194, allocations: 7.938 kB / 1.041 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/1.195, allocations: 47.95 kB / 1.041 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/1.195, allocations: 28.2 kB / 1.041 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/1.195, allocations: 19.52 kB / 1.041 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003042/1.195, allocations: 282.1 kB / 1.041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/1.195, allocations: 4 kB / 1.041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005683/1.196, allocations: 206.9 kB / 1.041 GB, free: 14.46 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.0001847/1.196, allocations: 111.2 kB / 1.041 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008367/1.197, allocations: 0.5638 MB / 1.042 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.197, allocations: 0 / 1.042 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/1.197, allocations: 188.7 kB / 1.042 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/1.198, allocations: 131.3 kB / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/1.199, allocations: 0.7409 MB / 1.043 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/1.2, allocations: 0.9195 MB / 1.044 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000423/1.2, allocations: 84.5 kB / 1.044 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.2, allocations: 38.62 kB / 1.044 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/1.2, allocations: 4 kB / 1.044 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of Templates: time 0.01192/1.212, allocations: 6.348 MB / 1.05 GB, free: 5.801 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