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.0008203/0.0008205, allocations: 92.23 kB / 16.02 MB, free: 80 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.00109/0.00109, allocations: 178.8 kB / 16.92 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 462.6 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 10.72 kB / 0.9035 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001268/0.3661, allocations: 0.596 MB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3679, allocations: 1.17 MB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.368, allocations: 3.938 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3681, allocations: 3.938 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3682, allocations: 11.92 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3687, allocations: 127.2 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3689, allocations: 139.7 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3691, allocations: 45.56 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3692, allocations: 47.83 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3693, allocations: 43.77 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3694, allocations: 8 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.3695, allocations: 19.98 kB / 1.062 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3695, allocations: 23.86 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.3696, allocations: 77.41 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3698, allocations: 119.9 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3698, allocations: 4 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3698, allocations: 0 / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3698, allocations: 0 / 1.062 GB, free: 2.398 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.0006373/0.3705, allocations: 420.9 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3705, allocations: 19.97 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.3706, allocations: 12.84 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.3711, allocations: 232.3 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3711, allocations: 12.36 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.3712, allocations: 16.38 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.3715, allocations: 98.94 kB / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3715, allocations: 0 / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3715, allocations: 7.984 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3715, allocations: 4 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.3718, allocations: 67.95 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.3724, allocations: 396.3 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3726, allocations: 70.55 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3727, allocations: 40.95 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3727, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.373, allocations: 95.3 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.373, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004994/0.3735, allocations: 149.5 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3736, allocations: 55.41 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3737, allocations: 136 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3737, allocations: 25.7 kB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3738, allocations: 111.9 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3739, allocations: 19.7 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.3739, allocations: 29.64 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.374, allocations: 326.8 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3742, allocations: 51.97 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3744, allocations: 83.27 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3747, allocations: 141 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3747, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004479/0.3752, allocations: 199.2 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.3752, allocations: 37.69 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.3752, allocations: 3.938 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3753, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3754, allocations: 16.08 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3754, allocations: 8 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3756, allocations: 47.81 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.3757, allocations: 15.98 kB / 1.065 GB, free: 15.23 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.0001297/0.3758, allocations: 121.8 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3758, allocations: 3.906 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.3759, allocations: 20.25 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3759, allocations: 0 / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3759, allocations: 0 / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3759, allocations: 3.984 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3761, allocations: 193.6 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3761, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.3762, allocations: 19.98 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3762, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3762, allocations: 3.938 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3762, allocations: 400 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3762, allocations: 3.984 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.3765, allocations: 145.1 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.3766, allocations: 84.95 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3766, allocations: 7.938 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.3767, allocations: 15.97 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3767, allocations: 11.92 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3768, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.3768, allocations: 97.52 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3768, allocations: 3.938 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002449/0.3771, allocations: 35.94 kB / 1.065 GB, free: 14.38 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.0001842/0.3773, allocations: 103.2 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.3777, allocations: 171.3 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3777, allocations: 4.188 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3779, allocations: 43.97 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3781, allocations: 19.89 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.3786, allocations: 269.2 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3789, allocations: 0.6965 MB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.379, allocations: 11.44 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.379, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.003535/0.3825, allocations: 1.418 MB / 1.068 GB, free: 11.58 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/jenkins1/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