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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001888/0.001888, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00274/0.00274, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 472.6 MB / 0.7448 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.34 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4048, allocations: 159.9 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002443/0.4073, allocations: 1.112 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.4088, allocations: 1.252 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4089, allocations: 7.938 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.409, allocations: 15.8 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.4091, allocations: 11.86 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.4096, allocations: 170 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.4099, allocations: 271.4 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.4101, allocations: 83.81 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.4102, allocations: 95.7 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.4103, allocations: 95.58 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.4104, allocations: 28 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.4105, allocations: 39.92 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.4105, allocations: 39.91 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.4106, allocations: 95.52 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.4109, allocations: 311.3 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4109, allocations: 4 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.337e-06/0.411, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.411, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 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.0008781/0.4118, allocations: 0.5199 MB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4119, allocations: 8.031 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.412, allocations: 24.73 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.4127, allocations: 316.7 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.4127, allocations: 12.38 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.4127, allocations: 20.36 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.4131, allocations: 150.2 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4131, allocations: 3.938 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.4131, allocations: 7.984 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4131, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.4135, allocations: 128.4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.4143, allocations: 0.5078 MB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.4147, allocations: 114.6 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.4149, allocations: 52.95 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.4149, allocations: 3.984 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.4152, allocations: 111.3 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.4152, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000625/0.4159, allocations: 205.2 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4159, allocations: 59.34 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.4161, allocations: 175.5 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.4161, allocations: 37.7 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4162, allocations: 136.1 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.4163, allocations: 43.39 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.4164, allocations: 45.7 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4165, allocations: 326.8 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4167, allocations: 71.94 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.417, allocations: 131.5 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.4174, allocations: 202.1 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4174, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005961/0.418, allocations: 271 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.4181, allocations: 37.69 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4181, allocations: 4 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4181, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4182, allocations: 35.91 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4183, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.4185, allocations: 55.98 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4186, allocations: 8 kB / 1.075 GB, free: 2.98 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.0001246/0.4187, allocations: 143 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.4187, allocations: 7.906 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.4192, allocations: 178.9 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4192, allocations: 0 / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4192, allocations: 0 / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4192, allocations: 3.938 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4195, allocations: 245.5 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4195, allocations: 0 / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4196, allocations: 35.92 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4196, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4196, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4196, allocations: 3.984 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4197, allocations: 0 / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.4201, allocations: 196.3 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.4201, allocations: 92.92 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4202, allocations: 0 / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4203, allocations: 19.97 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.4203, allocations: 11.98 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4204, allocations: 11.98 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.57e-05/0.4205, allocations: 121.2 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4205, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002474/0.4207, allocations: 39.94 kB / 1.076 GB, free: 1.793 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.0001659/0.4209, allocations: 131.1 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.4214, allocations: 227.2 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.4214, allocations: 384 / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.4216, allocations: 71.89 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.4219, allocations: 43.84 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.4225, allocations: 352.1 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4227, allocations: 0.7281 MB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.4229, allocations: 25.55 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4229, allocations: 15.44 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4229, allocations: 0 / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of Templates: time 0.005229/0.4282, allocations: 2.236 MB / 1.08 GB, free: 13.97 MB / 0.8419 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/jenkins/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