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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 11.81 kB / 0.9035 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3586, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.001499/0.3601, allocations: 0.7672 MB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3619, allocations: 1.256 MB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.362, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.3621, allocations: 11.88 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.974e-05/0.3622, allocations: 23.78 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.3627, allocations: 178.4 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.3629, allocations: 227.5 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3631, allocations: 76.05 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3632, allocations: 75.69 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3634, allocations: 71.61 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.3634, allocations: 15.94 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.3635, allocations: 19.98 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3635, allocations: 23.91 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3636, allocations: 105.2 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3639, allocations: 235.6 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3639, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3639, allocations: 4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3639, allocations: 0 / 1.062 GB, free: 1.809 MB / 0.8106 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.0008576/0.3648, allocations: 0.5044 MB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3648, allocations: 11.97 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.3649, allocations: 24.66 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.3656, allocations: 329 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3657, allocations: 12.38 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3657, allocations: 16.38 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.3661, allocations: 158.1 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3661, allocations: 3.938 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3661, allocations: 4 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3662, allocations: 4 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.3666, allocations: 147.9 kB / 1.064 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.3674, allocations: 0.5 MB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3678, allocations: 114.6 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.368, allocations: 72.75 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.368, allocations: 4 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.3683, allocations: 123.4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3684, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007023/0.3691, allocations: 221.5 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.3691, allocations: 59.34 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3693, allocations: 183.4 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.3693, allocations: 33.7 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.3694, allocations: 132.1 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3695, allocations: 35.53 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.3695, allocations: 29.7 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3697, allocations: 322.8 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.3699, allocations: 83.94 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.3702, allocations: 125.9 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.3707, allocations: 219.5 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3707, allocations: 4 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006292/0.3713, allocations: 282.9 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.3714, allocations: 39.44 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3714, allocations: 8 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3714, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3716, allocations: 35.97 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3716, allocations: 3.938 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.3719, allocations: 67.8 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.3719, allocations: 8 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y,relDam.and2.y,relDam.greThr.greHys.y,$PRE.relDam.greThr.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.3721, allocations: 134.3 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3721, allocations: 23.78 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.3726, allocations: 194.9 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3726, allocations: 4 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3726, allocations: 0 / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3727, allocations: 0 / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3729, allocations: 249.4 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3729, allocations: 4 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.373, allocations: 27.92 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3731, allocations: 4 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3731, allocations: 4 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3731, allocations: 0 / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3731, allocations: 4 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.3736, allocations: 213.7 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3736, allocations: 92.92 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3737, allocations: 4 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3738, allocations: 23.97 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.3739, allocations: 7.984 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3739, allocations: 7.984 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001028/0.374, allocations: 137.2 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002533/0.3743, allocations: 39.84 kB / 1.067 GB, free: 12.39 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.3744, allocations: 111.8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.375, allocations: 247.1 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.375, allocations: 3.938 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.3753, allocations: 86.14 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3756, allocations: 39.91 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.3762, allocations: 380 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3765, allocations: 0.7167 MB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3766, allocations: 23.42 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3766, allocations: 3.938 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of Templates: time 0.004301/0.3809, allocations: 2.338 MB / 1.071 GB, free: 8.414 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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