Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00183/0.00183, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.002018/0.002019, allocations: 200 kB / 16.91 MB, free: 6.188 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.672/2.672, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 70.16 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002293/0.3621, allocations: 0.9311 MB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3638, allocations: 1.17 MB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.3639, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.3639, allocations: 3.938 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.364, allocations: 11.92 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.3646, allocations: 132.7 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3648, allocations: 155.7 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.365, allocations: 49.55 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3651, allocations: 55.84 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3652, allocations: 63.75 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.3652, allocations: 12 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.3653, allocations: 35.97 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.3653, allocations: 15.92 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.3654, allocations: 59.72 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3656, allocations: 132 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3656, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3656, allocations: 3.938 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3656, allocations: 0 / 1.067 GB, free: 12.21 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.0007069/0.3664, allocations: 444.8 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3664, allocations: 8.031 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.3665, allocations: 12.84 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.367, allocations: 240.3 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.367, allocations: 4.375 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.367, allocations: 12.38 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3673, allocations: 99.95 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3673, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3673, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3674, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.3676, allocations: 67.94 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.3682, allocations: 396.3 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3684, allocations: 62.55 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3685, allocations: 40.95 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3686, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.3689, allocations: 87.31 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3689, allocations: 3.938 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004462/0.3693, allocations: 141.4 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.3694, allocations: 55.41 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3695, allocations: 127.8 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.3696, allocations: 29.7 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.3697, allocations: 111.9 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3697, allocations: 23.7 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.3698, allocations: 41.64 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3699, allocations: 322.8 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3701, allocations: 47.91 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3703, allocations: 71.39 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3705, allocations: 133 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3705, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004283/0.371, allocations: 195.2 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.371, allocations: 41.69 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3711, allocations: 3.938 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3711, allocations: 7.938 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3712, allocations: 15.98 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3712, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.3714, allocations: 35.81 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.3714, allocations: 7.984 kB / 1.07 GB, free: 9.098 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.0001328/0.3716, allocations: 128.1 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.3716, allocations: 7.906 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.3716, allocations: 16.31 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3717, allocations: 4.094 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3717, allocations: 3.938 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3717, allocations: 3.984 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3719, allocations: 193.6 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3719, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.372, allocations: 19.98 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.372, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.372, allocations: 7.938 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.372, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.372, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3723, allocations: 133 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.3724, allocations: 81.02 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3724, allocations: 11.94 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.3724, allocations: 7.984 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3725, allocations: 7.984 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3725, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.3726, allocations: 104.5 kB / 1.07 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3726, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002327/0.3728, allocations: 31.94 kB / 1.07 GB, free: 8.254 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.373, allocations: 107.2 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.3734, allocations: 171.3 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3734, allocations: 0 / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3736, allocations: 35.97 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3738, allocations: 20.17 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3744, allocations: 264.4 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3748, allocations: 0.6963 MB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.3748, allocations: 15.44 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3748, allocations: 0 / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of Templates: time 0.00378/0.3786, allocations: 1.46 MB / 1.073 GB, free: 5.43 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches