Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009892/0.0009892, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001058/0.001058, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004929, allocations: 8 kB / 0.8723 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8439, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002278/0.8463, allocations: 0.7311 MB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.8489, allocations: 1.241 MB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.8491, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.8493, allocations: 7.875 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.8494, allocations: 19.8 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.8502, allocations: 151.6 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.8506, allocations: 215.5 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.8508, allocations: 70.03 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.851, allocations: 59.78 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.8512, allocations: 79.55 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.8513, allocations: 8 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.8514, allocations: 23.97 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.8515, allocations: 27.91 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.8516, allocations: 53.58 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.852, allocations: 241.2 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.852, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.852, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8521, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 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.001194/0.8533, allocations: 0.5003 MB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.8533, allocations: 16.52 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.8534, allocations: 19.81 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.8545, allocations: 326.5 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.8545, allocations: 12 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.8546, allocations: 19.95 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.8552, allocations: 157.6 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8552, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.8553, allocations: 8 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8553, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.856, allocations: 151.8 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.8571, allocations: 496.4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.8577, allocations: 130.5 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.858, allocations: 68.81 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.8581, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.8585, allocations: 115.3 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.8586, allocations: 3.938 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.001022/0.8596, allocations: 233.5 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.8597, allocations: 51.41 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.8599, allocations: 179.4 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.86, allocations: 33.7 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.8601, allocations: 140.1 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.8602, allocations: 31.55 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.8602, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.8604, allocations: 326.8 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.8608, allocations: 79.94 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.8612, allocations: 129.9 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.8616, allocations: 121.6 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8616, allocations: 3.938 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009805/0.8626, allocations: 279.1 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.8627, allocations: 41.73 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8627, allocations: 4 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.8628, allocations: 4 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.863, allocations: 39.91 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8631, allocations: 0 / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.8635, allocations: 67.8 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.8635, allocations: 11.94 kB / 1.029 GB, free: 9.074 MB / 0.7794 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,$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 (18): * Single equations (assignments): 17 * 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.0002054/0.8638, allocations: 141.7 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.8638, allocations: 11.81 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007591/0.8646, allocations: 202.4 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.8646, allocations: 7.984 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8646, allocations: 0 / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8646, allocations: 0 / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.865, allocations: 245.5 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.865, allocations: 0 / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.8652, allocations: 23.98 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8652, allocations: 0 / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.8653, allocations: 11.98 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8653, allocations: 4 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.8653, allocations: 0 / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.866, allocations: 200.8 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.8661, allocations: 92.88 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.8661, allocations: 4 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.8663, allocations: 19.97 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.8664, allocations: 19.97 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.8665, allocations: 8 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001433/0.8666, allocations: 124.1 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.655e-06/0.8666, allocations: 0 / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004805/0.8671, allocations: 43.78 kB / 1.03 GB, free: 7.844 MB / 0.7794 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.0002419/0.8674, allocations: 119.2 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.8682, allocations: 239.2 kB / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8682, allocations: 0 / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.8686, allocations: 80.27 kB / 1.03 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.8691, allocations: 32.92 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.8699, allocations: 342.1 kB / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.8703, allocations: 0.7203 MB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.8705, allocations: 25.55 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.8705, allocations: 19.44 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.8706, allocations: 0 / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of Templates: time 0.007358/0.8779, allocations: 2.088 MB / 1.034 GB, free: 4.188 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches