Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relDam.uOutDam_min|relDam.uOutDam|relDam.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relDam.uOutDam_min|relDam.uOutDam|relDam.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001305/0.001305, allocations: 185.6 kB / 0.4902 GB, free: 2.297 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.668/1.668, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 102.5 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004222, allocations: 8.812 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2964, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.4969, allocations: 151.2 MB / 1.377 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.4974, allocations: 83.94 kB / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.5076, allocations: 3.507 MB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5077, allocations: 7.938 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.5077, allocations: 4 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008907/0.5086, allocations: 0.5125 MB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5086, allocations: 20.52 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.5087, allocations: 23.72 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.5091, allocations: 258.7 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.5092, allocations: 12 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.5092, allocations: 16 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.5097, allocations: 174.4 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5097, allocations: 0 / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.5097, allocations: 4 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5097, allocations: 7.938 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.5102, allocations: 159.9 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.5111, allocations: 0.5626 MB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.5115, allocations: 146.5 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5116, allocations: 0 / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.5119, allocations: 139.3 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.5119, allocations: 0 / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.000752/0.5127, allocations: 261.5 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.5127, allocations: 55.41 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.5129, allocations: 177.7 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.5129, allocations: 29.7 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.513, allocations: 127.9 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.5131, allocations: 35.48 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.5131, allocations: 12 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5132, allocations: 326.8 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.5135, allocations: 91.94 kB / 1.384 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.5137, allocations: 123.4 kB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.514, allocations: 117.6 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.514, allocations: 0 / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006116/0.5146, allocations: 283 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.5147, allocations: 37.7 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5147, allocations: 3.984 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5147, allocations: 4 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.5149, allocations: 28.05 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.5149, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.5152, allocations: 75.78 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5152, allocations: 8 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.relDam.greThr.greHys.y,relDam.greThr.greHys.y,relDam.and2.y,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0001271/0.5154, allocations: 141.7 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.5154, allocations: 11.81 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.5159, allocations: 211 kB / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.5159, allocations: 11.94 kB / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.516, allocations: 0 / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.516, allocations: 7.984 kB / 1.385 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.5162, allocations: 257.5 kB / 1.385 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5162, allocations: 3.984 kB / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.5164, allocations: 31.92 kB / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5164, allocations: 0 / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5164, allocations: 0 / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5164, allocations: 4 kB / 1.385 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5165, allocations: 3.984 kB / 1.385 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.5169, allocations: 234.7 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.517, allocations: 96.84 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.517, allocations: 4 kB / 1.385 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5172, allocations: 27.97 kB / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.5173, allocations: 19.97 kB / 1.385 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.5173, allocations: 8 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001072/0.5174, allocations: 140.5 kB / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.023e-06/0.5174, allocations: 0 / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002503/0.5177, allocations: 47.78 kB / 1.385 GB, free: 9.332 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001852/0.5179, allocations: 119.9 kB / 1.385 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.5184, allocations: 255.2 kB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5184, allocations: 0 / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.5187, allocations: 92.06 kB / 1.386 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.5189, allocations: 35.81 kB / 1.386 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.5195, allocations: 344.1 kB / 1.386 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.5198, allocations: 0.7244 MB / 1.387 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.096e-05/0.5199, allocations: 25.36 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.52, allocations: 15.44 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.52, allocations: 0 / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of Templates: time 0.0054/0.5254, allocations: 2.29 MB / 1.389 GB, free: 5.434 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches