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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_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_latest_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.008036/0.008036, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001963/0.001963, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7422 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.11 kB / 1.064 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7485, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002098/0.7506, allocations: 0.8767 MB / 1.221 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.7521, allocations: 1.163 MB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.7522, allocations: 0 / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.7522, allocations: 11.86 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.7524, allocations: 19.86 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.7529, allocations: 155.2 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.7532, allocations: 155.7 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.7533, allocations: 53.47 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.7534, allocations: 59.84 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.7536, allocations: 67.73 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.7536, allocations: 12 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.7537, allocations: 27.98 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.7537, allocations: 23.92 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.7538, allocations: 63.72 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.7541, allocations: 179 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7541, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7541, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7541, allocations: 0 / 1.223 GB, free: 15.45 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.0006225/0.7547, allocations: 440.7 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7548, allocations: 12.02 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.7548, allocations: 42.75 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.7549, allocations: 12.89 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.7553, allocations: 232.3 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.7554, allocations: 12.38 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.7554, allocations: 8.375 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.7557, allocations: 104.1 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7557, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7557, allocations: 3.938 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7557, allocations: 8 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.7559, allocations: 67.89 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.7565, allocations: 388.5 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.7567, allocations: 70.48 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.7568, allocations: 36.95 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.7568, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.7571, allocations: 75.38 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.7571, allocations: 0 / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004398/0.7575, allocations: 149.6 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.7576, allocations: 51.41 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7577, allocations: 133.8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.7577, allocations: 29.7 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.7578, allocations: 112 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.7578, allocations: 19.86 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.7579, allocations: 37.69 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.758, allocations: 322.8 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.7582, allocations: 47.97 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.7584, allocations: 75.39 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.7587, allocations: 133.1 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7587, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000431/0.7591, allocations: 195.2 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.7591, allocations: 41.62 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7592, allocations: 4.094 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7592, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.7593, allocations: 15.98 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.7593, allocations: 7.938 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.7595, allocations: 35.86 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.7596, allocations: 15.98 kB / 1.225 GB, free: 12.29 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.0001044/0.7597, allocations: 122.4 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.7597, allocations: 11.89 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.7597, allocations: 12.38 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7597, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7598, allocations: 3.938 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.7598, allocations: 7.984 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.7599, allocations: 193.6 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7599, allocations: 0 / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.76, allocations: 11.98 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.76, allocations: 3.938 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.76, allocations: 8 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7601, allocations: 0 / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7601, allocations: 3.938 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.7603, allocations: 129 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.7604, allocations: 81.06 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.7604, allocations: 7.938 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.7605, allocations: 11.98 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.7605, allocations: 7.984 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.7605, allocations: 4 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.7606, allocations: 101.8 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7606, allocations: 0 / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002458/0.7609, allocations: 23.94 kB / 1.226 GB, free: 11.46 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.0005693/0.7614, allocations: 0.6791 MB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.7618, allocations: 183.3 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7619, allocations: 0 / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.762, allocations: 32.17 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7622, allocations: 23.98 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.7642, allocations: 1.634 MB / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.7645, allocations: 0.7001 MB / 1.229 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.7645, allocations: 12.44 kB / 1.229 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.7646, allocations: 31.42 kB / 1.229 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.7646, allocations: 3.938 kB / 1.229 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.7833, allocations: 2.866 MB / 1.232 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/8.08, allocations: 2.156 kB / 1.232 GB, free: 5.316 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > 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.csv","/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