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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 216.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.436/3.436, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 64.25 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4015, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002494/0.404, allocations: 0.8905 MB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.406, allocations: 1.202 MB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.4061, allocations: 0 / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.4062, allocations: 11.88 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.4063, allocations: 19.78 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.4069, allocations: 146.7 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.4072, allocations: 151.7 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.4074, allocations: 37.73 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.4075, allocations: 67.78 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.4077, allocations: 63.73 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.4077, allocations: 16 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.4078, allocations: 23.98 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.4078, allocations: 23.92 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.4079, allocations: 59.72 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.4083, allocations: 175.7 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4083, allocations: 4 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4083, allocations: 3.938 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.4083, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 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.0007983/0.4091, allocations: 367.6 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4091, allocations: 8.031 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4092, allocations: 38.75 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.4093, allocations: 12.84 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.4098, allocations: 176.8 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4098, allocations: 12.3 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.4098, allocations: 20.36 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.4101, allocations: 95.61 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4101, allocations: 0 / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4101, allocations: 4 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4102, allocations: 0 / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.4104, allocations: 79.83 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.4111, allocations: 359.6 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4113, allocations: 58.55 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4114, allocations: 40.95 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4114, allocations: 0 / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.4117, allocations: 83.31 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.4117, allocations: 0 / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004771/0.4122, allocations: 141.7 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4122, allocations: 55.41 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.4124, allocations: 129.8 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.4124, allocations: 29.7 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.4125, allocations: 112 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.4125, allocations: 23.78 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.4126, allocations: 41.64 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4128, allocations: 322.8 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.4129, allocations: 47.97 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.4131, allocations: 71.39 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.4134, allocations: 133 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4134, allocations: 0 / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004812/0.4139, allocations: 191.2 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.4139, allocations: 45.56 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4139, allocations: 4 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.414, allocations: 0 / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4141, allocations: 24.08 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4141, allocations: 0 / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.4143, allocations: 27.97 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.4143, allocations: 11.98 kB / 1.358 GB, free: 2.59 MB / 1.045 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.0001392/0.4145, allocations: 122.4 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.4145, allocations: 11.89 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.4145, allocations: 20.31 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4145, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4145, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4145, allocations: 3.984 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.4147, allocations: 184.5 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4148, allocations: 0 / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.4148, allocations: 11.98 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4148, allocations: 3.938 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4149, allocations: 4 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4149, allocations: 0 / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4149, allocations: 3.984 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.4152, allocations: 129.1 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.4152, allocations: 7.953 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4152, allocations: 3.938 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.4153, allocations: 7.984 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.4153, allocations: 15.92 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4153, allocations: 0 / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.346e-05/0.4154, allocations: 100.8 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4154, allocations: 0 / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00026/0.4157, allocations: 31.94 kB / 1.359 GB, free: 1.867 MB / 1.045 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.0007069/0.4164, allocations: 0.6787 MB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.4168, allocations: 151.8 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4168, allocations: 0 / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4169, allocations: 35.91 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4172, allocations: 28.41 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.4195, allocations: 1.633 MB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4199, allocations: 0.7001 MB / 1.362 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.42, allocations: 20.41 kB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.42, allocations: 27.44 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.42, allocations: 0 / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.4551, allocations: 2.975 MB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.98, allocations: 5.109 kB / 1.365 GB, free: 11.63 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.262475318973884]