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.001869/0.001869, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.002127/0.002127, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 71.66 kB / 0.9084 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3653, allocations: 159.1 MB / 1.064 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002567/0.3679, allocations: 0.931 MB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.3696, allocations: 1.166 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/0.3697, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.313e-05/0.3698, allocations: 7.922 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.37, allocations: 11.86 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.3706, allocations: 130.7 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.3708, allocations: 155.7 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.371, allocations: 49.55 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3711, allocations: 59.78 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3712, allocations: 55.81 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.3712, allocations: 16 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.3713, allocations: 27.98 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.3714, allocations: 23.92 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.3715, allocations: 59.72 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3717, allocations: 127.9 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3717, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3717, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3717, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8419 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.0007572/0.3725, allocations: 448.8 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3725, allocations: 12.62 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.3726, allocations: 12.84 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.3731, allocations: 224.3 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3732, allocations: 16.36 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.3732, allocations: 12.31 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3735, allocations: 97.97 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3735, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3735, allocations: 7.938 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3735, allocations: 7.984 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3738, allocations: 55.95 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.3744, allocations: 404.3 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.3745, allocations: 70.47 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3747, allocations: 36.95 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3747, allocations: 8 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.375, allocations: 75.38 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.375, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004514/0.3754, allocations: 149.4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3755, allocations: 55.41 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3756, allocations: 132.6 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3756, allocations: 29.7 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.3757, allocations: 107.9 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3758, allocations: 19.72 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3759, allocations: 41.69 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.376, allocations: 314.8 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3762, allocations: 51.95 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3763, allocations: 75.39 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3766, allocations: 133 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3766, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004158/0.377, allocations: 191.1 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.3771, allocations: 37.78 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3771, allocations: 7.875 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3771, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3772, allocations: 15.98 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3772, allocations: 12.03 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.3774, allocations: 35.81 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3775, allocations: 11.98 kB / 1.069 GB, free: 9.359 MB / 0.8419 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.0001048/0.3776, allocations: 124 kB / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.3776, allocations: 7.906 kB / 1.069 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3776, allocations: 12.31 kB / 1.069 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3776, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3777, allocations: 11.94 kB / 1.069 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3777, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3778, allocations: 197.6 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3779, allocations: 0 / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.3779, allocations: 11.98 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3779, allocations: 4 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.378, allocations: 7.938 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.378, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.378, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.3782, allocations: 136.9 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.3783, allocations: 85.02 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3783, allocations: 3.938 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.3784, allocations: 7.984 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3784, allocations: 7.984 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3785, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.3785, allocations: 103.3 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3785, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002347/0.3788, allocations: 27.94 kB / 1.07 GB, free: 8.527 MB / 0.8419 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.0001663/0.3789, allocations: 103.2 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3793, allocations: 175.2 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3793, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3795, allocations: 48.09 kB / 1.07 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3797, allocations: 15.98 kB / 1.07 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.3802, allocations: 262.2 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3805, allocations: 0.7002 MB / 1.071 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.3806, allocations: 11.44 kB / 1.071 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3806, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of Templates: time 0.003233/0.3838, allocations: 1.458 MB / 1.073 GB, free: 5.707 MB / 0.8419 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