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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007426/0.007426, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002219/0.002219, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.731/2.731, allocations: 469.8 MB / 0.7425 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6511, allocations: 159.1 MB / 1.22 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002111/0.6533, allocations: 0.8783 MB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.6549, allocations: 1.163 MB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.655, allocations: 0 / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.655, allocations: 11.86 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.04e-05/0.6551, allocations: 15.81 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.6556, allocations: 160.5 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.6559, allocations: 155.7 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.656, allocations: 45.58 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.6561, allocations: 67.75 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.6563, allocations: 59.75 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.6563, allocations: 20 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.6564, allocations: 27.98 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.6564, allocations: 23.91 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.737e-05/0.6565, allocations: 63.72 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.6568, allocations: 171 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6568, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6568, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.6568, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 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.0007039/0.6575, allocations: 448.7 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6576, allocations: 12.03 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.6576, allocations: 42.73 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.6577, allocations: 12.89 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.6582, allocations: 220.4 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.6582, allocations: 16.36 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.6582, allocations: 12.38 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.6585, allocations: 103.7 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6585, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6585, allocations: 7.938 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6585, allocations: 4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.6588, allocations: 59.94 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.6593, allocations: 392.5 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.6596, allocations: 66.55 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.6597, allocations: 36.95 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6597, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.66, allocations: 95.28 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.66, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.000463/0.6604, allocations: 137.7 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.6605, allocations: 55.34 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6606, allocations: 133.8 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.6607, allocations: 25.7 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.6607, allocations: 119.9 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.6608, allocations: 23.84 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.6609, allocations: 41.69 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.661, allocations: 314.8 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.6612, allocations: 47.95 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.6614, allocations: 75.39 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.6617, allocations: 129 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6617, allocations: 4 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004588/0.6622, allocations: 191.2 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.6622, allocations: 41.62 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.6622, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6622, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6624, allocations: 20.08 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.6624, allocations: 3.938 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.6626, allocations: 35.86 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.6626, allocations: 12.06 kB / 1.226 GB, free: 11.95 MB / 0.9512 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.0001068/0.6628, allocations: 126.6 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.6628, allocations: 11.89 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.6628, allocations: 12.38 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6628, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6628, allocations: 4 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6629, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.663, allocations: 193.6 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.6631, allocations: 4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.821e-05/0.6631, allocations: 15.98 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6632, allocations: 3.938 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.6632, allocations: 0 / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6632, allocations: 4 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6632, allocations: 0 / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.6635, allocations: 133 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.6636, allocations: 96.94 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.6636, allocations: 3.938 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.6637, allocations: 7.984 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.6637, allocations: 4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6637, allocations: 7.984 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.781e-05/0.6638, allocations: 98.5 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6638, allocations: 0 / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002385/0.664, allocations: 31.94 kB / 1.227 GB, free: 11.1 MB / 0.9512 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.0006421/0.6647, allocations: 0.6714 MB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.6651, allocations: 179.3 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6651, allocations: 4.188 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.6652, allocations: 35.92 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.6655, allocations: 15.98 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.6677, allocations: 1.648 MB / 1.229 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.668, allocations: 0.7002 MB / 1.23 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.372e-05/0.6681, allocations: 8.438 kB / 1.23 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.6682, allocations: 31.42 kB / 1.23 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6682, allocations: 0 / 1.23 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.6915, allocations: 2.862 MB / 1.233 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.455, allocations: 4.375 kB / 1.233 GB, free: 4.973 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > 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.csv","/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