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.001802/0.001802, allocations: 108 kB / 15.6 MB, free: 132 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.001766/0.001766, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.12 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 159.9 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002631/0.3193, allocations: 1.051 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3209, allocations: 1.275 MB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3211, allocations: 7.938 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3212, allocations: 19.73 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.3213, allocations: 23.73 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.3219, allocations: 179.2 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.3222, allocations: 271.4 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.3223, allocations: 83.81 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3225, allocations: 95.75 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3226, allocations: 99.52 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.3226, allocations: 24 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.3227, allocations: 36 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.3228, allocations: 35.91 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3229, allocations: 107.5 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3232, allocations: 315.3 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3233, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3233, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3233, allocations: 4 kB / 1.072 GB, free: 6.711 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.0009675/0.3243, allocations: 0.5199 MB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3243, allocations: 8.031 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.3244, allocations: 24.75 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.3251, allocations: 312.9 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3252, allocations: 12.38 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.3252, allocations: 16.38 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.3256, allocations: 154.7 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3256, allocations: 11.92 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3256, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3256, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.326, allocations: 123.9 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.3269, allocations: 0.5039 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3273, allocations: 118.5 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.3275, allocations: 52.81 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.3275, allocations: 4 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.3279, allocations: 123.5 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.3279, allocations: 0 / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007256/0.3286, allocations: 193.4 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3287, allocations: 59.28 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3288, allocations: 183.5 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3289, allocations: 37.69 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.329, allocations: 128.1 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.329, allocations: 39.45 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.3291, allocations: 49.69 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3293, allocations: 326.8 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3295, allocations: 75.94 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.3298, allocations: 119.7 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.3302, allocations: 206.6 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3303, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006206/0.3309, allocations: 274.9 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.3309, allocations: 33.7 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3309, allocations: 0 / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.331, allocations: 4 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3311, allocations: 32.09 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3312, allocations: 11.98 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.3315, allocations: 47.8 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3315, allocations: 11.98 kB / 1.075 GB, free: 2.652 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.0001244/0.3316, allocations: 136.4 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3317, allocations: 11.91 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.3322, allocations: 182.8 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3322, allocations: 4 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3322, allocations: 0 / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3322, allocations: 3.984 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3324, allocations: 241.5 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3325, allocations: 3.938 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3326, allocations: 27.97 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3326, allocations: 0 / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3326, allocations: 8 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3326, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3326, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.3331, allocations: 188.7 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.3332, allocations: 92.91 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.3332, allocations: 8 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3333, allocations: 11.98 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.3334, allocations: 15.97 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3334, allocations: 8 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.614e-05/0.3335, allocations: 125.2 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3335, allocations: 4 kB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000264/0.3338, allocations: 39.94 kB / 1.077 GB, free: 1.461 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.000206/0.334, allocations: 119.7 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000688/0.3347, allocations: 235.4 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3347, allocations: 8.062 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.335, allocations: 79.5 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3353, allocations: 31.92 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.3359, allocations: 301.5 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3362, allocations: 0.7164 MB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.3364, allocations: 29.53 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.3364, allocations: 15.44 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3364, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.006512/0.3429, allocations: 2.37 MB / 1.08 GB, free: 13.57 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