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.001785/0.001785, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002154/0.002154, allocations: 213 kB / 22.24 MB, free: 4.855 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.805 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.307/3.307, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002104/0.002104, allocations: 67.11 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3957, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.003454/0.3992, allocations: 0.853 MB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.4023, allocations: 1.179 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4024, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/0.4024, allocations: 11.86 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.4026, allocations: 15.81 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.4036, allocations: 150.3 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.4041, allocations: 151.7 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.4043, allocations: 29.77 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.4045, allocations: 67.77 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.4048, allocations: 55.75 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.4048, allocations: 16 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.4049, allocations: 23.98 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.405, allocations: 27.91 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.4051, allocations: 51.78 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.4055, allocations: 163.7 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4055, allocations: 8 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4055, allocations: 3.938 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.4055, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 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.0008378/0.4063, allocations: 367.6 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4064, allocations: 12.03 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.4064, allocations: 38.73 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.4065, allocations: 12.89 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.407, allocations: 181.1 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.407, allocations: 8.375 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.407, allocations: 16.38 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4073, allocations: 103.2 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4073, allocations: 0 / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4073, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4073, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.4076, allocations: 59.95 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.4082, allocations: 343.6 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.4084, allocations: 58.55 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4085, allocations: 32.95 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4085, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.4088, allocations: 87.3 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.4088, allocations: 7.938 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004786/0.4093, allocations: 133.7 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.4094, allocations: 59.34 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.4096, allocations: 140.2 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.4096, allocations: 25.7 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.4098, allocations: 108 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.4098, allocations: 31.77 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.4099, allocations: 41.64 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4101, allocations: 322.8 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.4102, allocations: 73.67 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.4104, allocations: 105.1 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.4107, allocations: 129 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4107, allocations: 0 / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004754/0.4112, allocations: 232.8 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.4113, allocations: 45.62 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4113, allocations: 0 / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4113, allocations: 4 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4114, allocations: 15.98 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4114, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.4116, allocations: 36.02 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.4116, allocations: 7.984 kB / 1.369 GB, free: 8.242 MB / 1.061 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.0001511/0.4118, allocations: 121.8 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.4118, allocations: 11.89 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.4119, allocations: 16.31 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4119, allocations: 96 / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4119, allocations: 3.938 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4119, allocations: 0 / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4121, allocations: 168.6 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4121, allocations: 8 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.4121, allocations: 11.98 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4121, allocations: 3.938 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4121, allocations: 0 / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4121, allocations: 4 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4122, allocations: 0 / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.4125, allocations: 137.4 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.4125, allocations: 7.891 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4125, allocations: 7.938 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.4125, allocations: 11.98 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4126, allocations: 3.938 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4126, allocations: 11.98 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.4127, allocations: 95.27 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002322/0.4129, allocations: 27.94 kB / 1.37 GB, free: 7.531 MB / 1.061 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.0007443/0.4137, allocations: 0.671 MB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.4141, allocations: 189 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4141, allocations: 0 / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.4142, allocations: 39.91 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4145, allocations: 23.97 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.4177, allocations: 1.753 MB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.4178, allocations: 88.31 kB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.768e-05/0.4179, allocations: 16.42 kB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.418, allocations: 27.38 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of SimCode: time 2.374e-06/0.418, allocations: 0 / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.4513, allocations: 3.513 MB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.73, allocations: 8.75 kB / 1.376 GB, free: 1.211 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: 18.646811712067574]