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.001291/0.001291, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001294/0.001294, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 64.09 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7124, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002092/0.7145, allocations: 0.8623 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.716, allocations: 1.17 MB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.7161, allocations: 4 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/0.7162, allocations: 11.86 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.7163, allocations: 7.875 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.7168, allocations: 150.4 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.717, allocations: 171.6 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.7172, allocations: 37.58 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.7173, allocations: 63.81 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.7174, allocations: 63.75 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.7174, allocations: 20 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.7175, allocations: 27.98 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.7176, allocations: 23.91 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.7176, allocations: 55.78 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.7179, allocations: 179.1 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7179, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7179, allocations: 3.984 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.7179, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 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.0006731/0.7186, allocations: 442.7 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7186, allocations: 12.03 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.7187, allocations: 20.83 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.7191, allocations: 228.3 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.7192, allocations: 8.375 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.7192, allocations: 8.375 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.7194, allocations: 99.33 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7194, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.7195, allocations: 4 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.7195, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.7197, allocations: 63.95 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.7202, allocations: 396.4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.7204, allocations: 70.48 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.7205, allocations: 32.97 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.7206, allocations: 0 / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.7208, allocations: 87.34 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.7208, allocations: 4 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004158/0.7212, allocations: 133.4 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.7213, allocations: 63.33 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7214, allocations: 128.2 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.7214, allocations: 33.69 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.7215, allocations: 104 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.7216, allocations: 31.62 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.7216, allocations: 37.7 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7217, allocations: 322.8 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.7219, allocations: 43.97 kB / 1.214 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.7221, allocations: 75.39 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.7223, allocations: 129 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7223, allocations: 0 / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000428/0.7228, allocations: 203.2 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.7228, allocations: 33.7 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7228, allocations: 3.938 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7228, allocations: 4 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.7229, allocations: 15.98 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.723, allocations: 0 / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.7232, allocations: 39.86 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.7232, allocations: 4 kB / 1.214 GB, free: 7.668 MB / 0.9356 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.0001031/0.7233, allocations: 126.2 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.7233, allocations: 11.91 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.7234, allocations: 24.28 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7234, allocations: 0 / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7234, allocations: 0 / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7234, allocations: 96 / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.7235, allocations: 201.5 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7235, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.7236, allocations: 15.98 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7236, allocations: 4 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7236, allocations: 3.938 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.7237, allocations: 4 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7237, allocations: 0 / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.7239, allocations: 136.9 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.724, allocations: 89 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.724, allocations: 11.94 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.7241, allocations: 4 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.7241, allocations: 7.984 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.7241, allocations: 0 / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.7242, allocations: 99.27 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7242, allocations: 3.938 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002246/0.7244, allocations: 28 kB / 1.215 GB, free: 6.812 MB / 0.9356 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.0001485/0.7246, allocations: 107.2 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.725, allocations: 163.3 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.725, allocations: 0 / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.7251, allocations: 43.91 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.7253, allocations: 16.17 kB / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.7258, allocations: 240.4 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.726, allocations: 0.6924 MB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.7261, allocations: 23.42 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.7261, allocations: 0 / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of Templates: time 0.002976/0.729, allocations: 1.458 MB / 1.217 GB, free: 4.02 MB / 0.9356 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