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.ReturnFan.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01086/0.01086, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.992/2.992, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 12.94 kB / 0.9029 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 159.6 MB / 1.059 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001145/0.3543, allocations: 0.5882 MB / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3558, allocations: 1.178 MB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.3559, allocations: 0 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.3559, allocations: 3.938 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.356, allocations: 23.86 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.3566, allocations: 127 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3567, allocations: 139.7 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3569, allocations: 45.56 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.357, allocations: 43.84 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3571, allocations: 47.7 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3572, allocations: 8 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-05/0.3572, allocations: 19.98 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.3573, allocations: 19.91 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.3573, allocations: 65.44 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3575, allocations: 155.8 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3576, allocations: 3.984 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3576, allocations: 0 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3576, allocations: 4 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006548/0.3582, allocations: 428.8 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3583, allocations: 12.02 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.3584, allocations: 12.84 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3589, allocations: 243.5 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3589, allocations: 12.38 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.3589, allocations: 8.375 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3592, allocations: 103.3 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3592, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3592, allocations: 4 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3592, allocations: 4 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.3595, allocations: 71.94 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.3601, allocations: 400.3 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3603, allocations: 70.48 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3604, allocations: 40.97 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3604, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3606, allocations: 83.36 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3607, allocations: 4 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004886/0.3612, allocations: 153.4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3612, allocations: 55.41 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3613, allocations: 139.4 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3614, allocations: 29.7 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.3615, allocations: 111.9 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.3615, allocations: 19.72 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.3615, allocations: 21.7 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3616, allocations: 314.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3618, allocations: 51.95 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.362, allocations: 87.38 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.3623, allocations: 133 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3623, allocations: 3.984 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004537/0.3627, allocations: 203.3 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.3628, allocations: 33.69 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3628, allocations: 7.938 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3628, allocations: 3.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3629, allocations: 12 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3629, allocations: 7.984 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3632, allocations: 51.84 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.3632, allocations: 12 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.000102/0.3633, allocations: 125.8 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.3633, allocations: 11.91 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.3634, allocations: 12.31 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3634, allocations: 3.984 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3634, allocations: 4 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3634, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3636, allocations: 193.7 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3636, allocations: 3.938 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.3637, allocations: 15.98 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3637, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3637, allocations: 3.938 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3637, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3637, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.364, allocations: 148.9 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3641, allocations: 81.02 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3641, allocations: 11.94 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.3642, allocations: 11.98 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.3642, allocations: 7.984 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3642, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.3643, allocations: 101.9 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3643, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002315/0.3645, allocations: 27.94 kB / 1.065 GB, free: 14.88 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: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0001743/0.3647, allocations: 103.2 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.3651, allocations: 179.7 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3652, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3653, allocations: 47.91 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3656, allocations: 24.08 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.366, allocations: 227.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3663, allocations: 0.7005 MB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.68e-05/0.3664, allocations: 8.422 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3664, allocations: 15.44 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3664, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.004136/0.3705, allocations: 1.406 MB / 1.067 GB, free: 12.15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches