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.001914/0.001914, allocations: 108 kB / 15.61 MB, free: 148 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.002006/0.002006, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.767/2.767, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 60.09 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7624, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002664/0.7651, allocations: 1.066 MB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.7671, allocations: 1.261 MB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.7672, allocations: 7.938 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.7674, allocations: 23.73 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.7675, allocations: 23.73 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.7681, allocations: 187.7 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.7684, allocations: 255.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.7687, allocations: 92.02 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.7688, allocations: 95.75 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.7689, allocations: 95.58 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.769, allocations: 24 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.7691, allocations: 47.86 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.7691, allocations: 31.92 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.7693, allocations: 107.5 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.7697, allocations: 305 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7697, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7697, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.7697, allocations: 0 / 1.021 GB, free: 14.93 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.0009813/0.7707, allocations: 0.5238 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7707, allocations: 15.98 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.7708, allocations: 24.69 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.7716, allocations: 315.9 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.7716, allocations: 12.38 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.7716, allocations: 16.38 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.772, allocations: 150.1 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7721, allocations: 3.938 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.7721, allocations: 8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.7721, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.7725, allocations: 131.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.7734, allocations: 0.4963 MB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.7738, allocations: 110.6 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.774, allocations: 60.94 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.774, allocations: 3.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004381/0.7745, allocations: 119.2 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.7745, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0007175/0.7752, allocations: 197.5 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.7753, allocations: 59.33 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.7755, allocations: 183.3 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.7755, allocations: 29.7 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.7757, allocations: 140.1 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.7757, allocations: 35.53 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.7758, allocations: 53.69 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.776, allocations: 326.8 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.7762, allocations: 71.94 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.7766, allocations: 119.7 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.777, allocations: 211.1 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.777, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006577/0.7777, allocations: 271.1 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.7778, allocations: 33.69 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7778, allocations: 4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.7778, allocations: 7.984 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.778, allocations: 27.92 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.778, allocations: 4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.7783, allocations: 47.94 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.7783, allocations: 12 kB / 1.025 GB, free: 10.87 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,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.0001622/0.7785, allocations: 141.7 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.7785, allocations: 15.81 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.7791, allocations: 175 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7791, allocations: 3.938 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7791, allocations: 7.984 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7791, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.7794, allocations: 237.4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7794, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.7795, allocations: 31.91 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7795, allocations: 3.938 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7796, allocations: 8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7796, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7796, allocations: 4 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.78, allocations: 188.9 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.7801, allocations: 92.86 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.7802, allocations: 4 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.7803, allocations: 15.98 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/0.7804, allocations: 19.97 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.7804, allocations: 4 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001038/0.7805, allocations: 124.1 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7805, allocations: 0 / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002647/0.7808, allocations: 39.89 kB / 1.026 GB, free: 9.68 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 (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.0002105/0.781, allocations: 119.2 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006196/0.7816, allocations: 232.3 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7816, allocations: 4 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.7818, allocations: 64.27 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.7822, allocations: 35.92 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.7829, allocations: 309.7 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.7833, allocations: 0.7242 MB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.7834, allocations: 25.53 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.7835, allocations: 19.44 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of SimCode: time 6.72e-07/0.7835, allocations: 7.938 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of Templates: time 0.006503/0.79, allocations: 2.362 MB / 1.029 GB, free: 5.777 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=400 -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