Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00868/0.00868, allocations: 102 kB / 15.73 MB, free: 6.039 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.001428/0.001428, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.74/2.74, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.27 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3453, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002968/0.3483, allocations: 1.059 MB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3502, allocations: 1.261 MB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.3504, allocations: 7.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.3506, allocations: 23.73 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.3507, allocations: 19.75 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.3513, allocations: 191.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.3517, allocations: 259.5 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.3519, allocations: 88.02 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3521, allocations: 99.69 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3523, allocations: 99.58 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.3523, allocations: 28 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.3524, allocations: 35.98 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.3525, allocations: 43.84 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3526, allocations: 103.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.353, allocations: 310.9 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.353, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/0.353, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.353, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 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.001038/0.3541, allocations: 0.5238 MB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.3541, allocations: 12.03 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.3542, allocations: 20.66 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.355, allocations: 317 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.355, allocations: 12.38 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.3551, allocations: 16.38 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.3555, allocations: 162.5 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3555, allocations: 3.938 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3555, allocations: 4 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3555, allocations: 8 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.3559, allocations: 123.9 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.3568, allocations: 0.5 MB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3572, allocations: 118.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3574, allocations: 48.83 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3574, allocations: 3.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.3577, allocations: 111.3 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.385e-06/0.3577, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0007998/0.3585, allocations: 217.4 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3586, allocations: 55.41 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3588, allocations: 171.5 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3588, allocations: 29.7 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3589, allocations: 140.1 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3589, allocations: 31.55 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.359, allocations: 53.59 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3592, allocations: 326.8 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.3594, allocations: 75.94 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.3597, allocations: 115.7 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.3601, allocations: 210.5 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3601, allocations: 4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005979/0.3607, allocations: 263 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.3608, allocations: 37.69 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3608, allocations: 0 / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3609, allocations: 8.188 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.361, allocations: 31.92 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.361, allocations: 3.984 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3613, allocations: 43.89 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.3613, allocations: 12 kB / 1.095 GB, free: 9.844 MB / 0.8575 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.0001432/0.3615, allocations: 137.7 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.3615, allocations: 15.81 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.362, allocations: 179 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.362, allocations: 4 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.362, allocations: 0 / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3621, allocations: 0 / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3623, allocations: 253.4 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3623, allocations: 7.984 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.3625, allocations: 27.91 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3625, allocations: 7.938 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3625, allocations: 0 / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3625, allocations: 0 / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3625, allocations: 0 / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.3629, allocations: 196.8 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.363, allocations: 85.02 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.363, allocations: 4 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3632, allocations: 15.98 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.3632, allocations: 19.91 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3633, allocations: 4 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000117/0.3634, allocations: 133.2 kB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.134e-06/0.3634, allocations: 0 / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002829/0.3637, allocations: 47.77 kB / 1.096 GB, free: 8.625 MB / 0.8575 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.0002288/0.3639, allocations: 107.2 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005701/0.3645, allocations: 231.5 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3645, allocations: 0 / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.3647, allocations: 71.39 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.365, allocations: 36.81 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.3656, allocations: 300 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.366, allocations: 0.7203 MB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.3661, allocations: 21.55 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.3662, allocations: 23.42 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of SimCode: time 7.82e-07/0.3662, allocations: 0 / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of Templates: time 0.006535/0.3727, allocations: 2.444 MB / 1.1 GB, free: 4.688 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches