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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001181/0.001181, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001707/0.001708, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.964/2.964, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 8.656 kB / 0.9022 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3651, allocations: 159.6 MB / 1.058 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001647/0.3668, allocations: 0.5613 MB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3691, allocations: 1.151 MB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3693, allocations: 0 / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.283e-05/0.3693, allocations: 11.86 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3695, allocations: 15.86 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.3702, allocations: 118.8 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.3704, allocations: 127.7 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.3706, allocations: 37.56 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3708, allocations: 43.84 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3709, allocations: 43.83 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.371, allocations: 8 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.3711, allocations: 19.97 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.3711, allocations: 11.92 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.3712, allocations: 45.64 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3714, allocations: 123.9 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3714, allocations: 0 / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3715, allocations: 0 / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3715, allocations: 0 / 1.06 GB, free: 2.906 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.0007465/0.3722, allocations: 428.7 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3723, allocations: 8.031 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.3724, allocations: 11.91 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.3729, allocations: 246.7 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.373, allocations: 8 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.373, allocations: 8 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.3733, allocations: 102.8 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3733, allocations: 0 / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3733, allocations: 0 / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3733, allocations: 4 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.3736, allocations: 75.91 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.3743, allocations: 408.3 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3744, allocations: 70.48 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3746, allocations: 36.97 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3746, allocations: 4 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.3749, allocations: 87.36 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.3749, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.3754, allocations: 149.6 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3754, allocations: 67.28 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3756, allocations: 124.5 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3756, allocations: 33.69 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.3757, allocations: 103.9 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3757, allocations: 27.64 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.3757, allocations: 4 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3759, allocations: 318.8 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.376, allocations: 55.97 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3762, allocations: 75.39 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3764, allocations: 81.62 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3764, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004484/0.3768, allocations: 199.2 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.3769, allocations: 47.5 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3769, allocations: 4 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3769, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3771, allocations: 19.94 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3771, allocations: 7.938 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3773, allocations: 51.81 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3773, allocations: 4 kB / 1.063 GB, free: 15.84 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,$PRE.fanStatus.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.3775, allocations: 125.8 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.3775, allocations: 4 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3776, allocations: 8.469 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3776, allocations: 7.938 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3776, allocations: 0 / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3776, allocations: 7.953 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3778, allocations: 201.5 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3778, allocations: 0 / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.3779, allocations: 19.92 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3779, allocations: 0 / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3779, allocations: 4 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3779, allocations: 4 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3779, allocations: 0 / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.3782, allocations: 140.9 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3783, allocations: 88.95 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3783, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.3784, allocations: 7.984 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3784, allocations: 11.98 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3785, allocations: 8 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.3785, allocations: 91.27 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3785, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002316/0.3788, allocations: 31.94 kB / 1.064 GB, free: 15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.3789, allocations: 103.2 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.3793, allocations: 175.3 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3793, allocations: 0 / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3794, allocations: 48.53 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3797, allocations: 29.16 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3801, allocations: 219.5 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3804, allocations: 0.6965 MB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.368e-05/0.3804, allocations: 12.42 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.3805, allocations: 11.44 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3805, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.004497/0.385, allocations: 1.373 MB / 1.066 GB, free: 12.32 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