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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00807/0.008071, allocations: 97.48 kB / 15.73 MB, free: 5.988 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.001732/0.001732, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.856/2.856, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3781, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002359/0.3805, allocations: 1.056 MB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3823, allocations: 1.272 MB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3825, allocations: 4 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.3827, allocations: 23.73 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.3828, allocations: 27.73 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.3834, allocations: 187.1 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.3837, allocations: 263.5 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3839, allocations: 84.03 kB / 1.17 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.384, allocations: 91.7 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3842, allocations: 111.5 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.3842, allocations: 24 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.3843, allocations: 35.98 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.3844, allocations: 47.78 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.3845, allocations: 103.6 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.3849, allocations: 314.7 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3849, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3849, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3849, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 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.0008696/0.3858, allocations: 0.5236 MB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3859, allocations: 11.98 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.386, allocations: 24.84 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.3867, allocations: 321 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.3867, allocations: 16.36 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3868, allocations: 20.31 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.3872, allocations: 154.1 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3872, allocations: 3.938 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3872, allocations: 4 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3872, allocations: 4 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.3876, allocations: 123.9 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.3884, allocations: 0.5041 MB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3888, allocations: 106.6 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.389, allocations: 64.8 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.389, allocations: 192 / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3893, allocations: 111.2 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.3893, allocations: 0 / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006737/0.39, allocations: 209.4 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3901, allocations: 55.41 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3903, allocations: 175.5 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3903, allocations: 33.7 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3904, allocations: 148.2 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.3905, allocations: 35.72 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.3906, allocations: 49.7 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3907, allocations: 322.8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.391, allocations: 67.94 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.3912, allocations: 133.9 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.3917, allocations: 195.5 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3917, allocations: 0 / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005934/0.3923, allocations: 271.1 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.3923, allocations: 39.11 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3924, allocations: 4 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3924, allocations: 0 / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3925, allocations: 39.91 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3926, allocations: 3.938 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.3928, allocations: 51.97 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.3929, allocations: 15.94 kB / 1.174 GB, free: 15.05 MB / 0.9356 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.0001382/0.393, allocations: 139.6 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.393, allocations: 11.91 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.3935, allocations: 182.9 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3936, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3936, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3936, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.3938, allocations: 249.4 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3938, allocations: 0 / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.394, allocations: 23.98 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.394, allocations: 0 / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.394, allocations: 11.98 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.394, allocations: 0 / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.394, allocations: 7.938 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.3945, allocations: 188.3 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.3945, allocations: 89.02 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3946, allocations: 8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3947, allocations: 15.97 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.3948, allocations: 15.98 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3948, allocations: 7.984 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.3949, allocations: 124.1 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3949, allocations: 0 / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002566/0.3951, allocations: 43.89 kB / 1.175 GB, free: 13.86 MB / 0.9356 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.0001846/0.3953, allocations: 121.8 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.3959, allocations: 219.2 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3959, allocations: 0 / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3961, allocations: 72.27 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3964, allocations: 47.83 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.397, allocations: 295.8 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3973, allocations: 0.7242 MB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.3974, allocations: 25.53 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.3975, allocations: 23.44 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3975, allocations: 3.938 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.006257/0.4037, allocations: 2.391 MB / 1.179 GB, free: 9.941 MB / 0.9356 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