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.007745/0.007745, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001924/0.001925, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.712/2.712, allocations: 472.6 MB / 0.7453 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.12 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.00301/1.062, allocations: 1.057 MB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002129/1.064, allocations: 1.265 MB / 1.228 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/1.065, allocations: 7.938 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001935/1.065, allocations: 19.73 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/1.065, allocations: 27.67 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/1.066, allocations: 195.2 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/1.066, allocations: 267.3 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/1.066, allocations: 80.05 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/1.067, allocations: 91.75 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/1.067, allocations: 99.58 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/1.067, allocations: 28 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/1.067, allocations: 39.98 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/1.067, allocations: 43.83 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/1.067, allocations: 107.5 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000525/1.068, allocations: 311.4 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.068, allocations: 0 / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/1.068, allocations: 0 / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.068, allocations: 0 / 1.229 GB, free: 9.871 MB / 0.9512 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.001262/1.069, allocations: 0.5392 MB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.069, allocations: 8.031 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/1.069, allocations: 20.84 kB / 1.23 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/1.07, allocations: 320.1 kB / 1.23 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/1.07, allocations: 12.38 kB / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/1.071, allocations: 16.38 kB / 1.23 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/1.071, allocations: 150.6 kB / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/1.071, allocations: 3.938 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/1.071, allocations: 8 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/1.071, allocations: 7.984 kB / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/1.072, allocations: 131.9 kB / 1.23 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/1.073, allocations: 0.4963 MB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/1.073, allocations: 118.5 kB / 1.231 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/1.073, allocations: 56.81 kB / 1.231 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/1.073, allocations: 0 / 1.231 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/1.074, allocations: 115.3 kB / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/1.074, allocations: 0 / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007197/1.074, allocations: 201.6 kB / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.074, allocations: 55.41 kB / 1.231 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/1.075, allocations: 184 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/1.075, allocations: 29.7 kB / 1.232 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.075, allocations: 148.2 kB / 1.232 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.075, allocations: 35.67 kB / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.075, allocations: 53.64 kB / 1.232 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.075, allocations: 326.8 kB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/1.075, allocations: 71.94 kB / 1.232 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/1.076, allocations: 119.5 kB / 1.232 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/1.076, allocations: 203.4 kB / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.076, allocations: 0 / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006169/1.077, allocations: 271 kB / 1.233 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/1.077, allocations: 37.64 kB / 1.233 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.077, allocations: 4 kB / 1.233 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.077, allocations: 0 / 1.233 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.077, allocations: 35.97 kB / 1.233 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/1.077, allocations: 8.188 kB / 1.233 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/1.077, allocations: 43.84 kB / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.077, allocations: 15.98 kB / 1.233 GB, free: 5.781 MB / 0.9512 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.0001271/1.077, allocations: 133.7 kB / 1.233 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/1.077, allocations: 15.91 kB / 1.233 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/1.078, allocations: 182.9 kB / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.078, allocations: 0 / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.078, allocations: 0 / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.078, allocations: 3.984 kB / 1.233 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/1.078, allocations: 241.5 kB / 1.233 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.078, allocations: 0 / 1.233 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/1.078, allocations: 31.97 kB / 1.233 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.078, allocations: 0 / 1.233 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.078, allocations: 0 / 1.233 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.078, allocations: 0 / 1.233 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.078, allocations: 4 kB / 1.233 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/1.079, allocations: 200.3 kB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/1.079, allocations: 96.94 kB / 1.234 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.079, allocations: 4 kB / 1.234 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.079, allocations: 15.97 kB / 1.234 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/1.079, allocations: 19.97 kB / 1.234 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/1.079, allocations: 11.94 kB / 1.234 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000106/1.079, allocations: 125.2 kB / 1.234 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 0 / 1.234 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002749/1.079, allocations: 47.89 kB / 1.234 GB, free: 4.566 MB / 0.9512 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.000211/1.08, allocations: 107.2 kB / 1.234 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005799/1.08, allocations: 227.2 kB / 1.234 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.08, allocations: 384 / 1.234 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.081, allocations: 67.95 kB / 1.234 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/1.081, allocations: 40.61 kB / 1.234 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/1.081, allocations: 303.9 kB / 1.235 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/1.082, allocations: 0.7203 MB / 1.235 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001252/1.082, allocations: 25.53 kB / 1.235 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/1.082, allocations: 23.42 kB / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of SimCode: time 7.72e-07/1.082, allocations: 0 / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of Templates: time 0.006501/1.089, allocations: 2.385 MB / 1.238 GB, free: 0.6719 MB / 0.9512 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