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.0007964/0.0007964, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008904/0.0008904, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8324/0.8324, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.699/1.699, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.315e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00155/0.001573, allocations: 0.8331 MB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.002678, allocations: 1.186 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.002734, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.002769, allocations: 11.86 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.00284, allocations: 23.73 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.003278, allocations: 149.7 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.003479, allocations: 155.7 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003601, allocations: 33.77 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.003711, allocations: 87.86 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.003792, allocations: 51.78 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003815, allocations: 20 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.003877, allocations: 24 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.003902, allocations: 23.91 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.003953, allocations: 43.91 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.004138, allocations: 191.4 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.00414, allocations: 3.938 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.004141, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004146, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 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.0005052/0.004651, allocations: 367.6 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.004687, allocations: 13.34 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.004715, allocations: 42.73 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.004751, allocations: 12.89 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.005025, allocations: 180.9 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.005041, allocations: 8.375 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.005058, allocations: 12.38 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.005202, allocations: 90.16 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005211, allocations: 8.172 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.005223, allocations: 12.12 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005228, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.005344, allocations: 59.95 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.005752, allocations: 335.7 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.005871, allocations: 58.55 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.005931, allocations: 36.95 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.00595, allocations: 4 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.006125, allocations: 95.41 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.006126, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002652/0.006392, allocations: 129.8 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.006424, allocations: 59.34 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.006499, allocations: 141.8 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.006514, allocations: 25.7 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.006566, allocations: 108 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.00658, allocations: 23.78 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.00663, allocations: 41.69 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.006699, allocations: 322.8 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.006807, allocations: 77.66 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.006906, allocations: 105.1 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.007046, allocations: 137.1 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007048, allocations: 3.938 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002403/0.007289, allocations: 224.8 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.007317, allocations: 37.7 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007321, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.007335, allocations: 12.08 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.0074, allocations: 15.94 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.007407, allocations: 8.125 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.986e-05/0.007507, allocations: 31.92 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.007522, allocations: 4 kB / 1.005 GB, free: 7.559 MB / 0.9636 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 8.045e-05/0.007602, allocations: 129.8 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.007611, allocations: 7.953 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.007639, allocations: 16.44 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00764, allocations: 3.938 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.007645, allocations: 3.938 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007649, allocations: 0 / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.007753, allocations: 164.7 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007754, allocations: 0 / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.007793, allocations: 15.98 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.007794, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.007801, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007802, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.007805, allocations: 7.938 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.007955, allocations: 129 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.007966, allocations: 7.953 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.007978, allocations: 4 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.008002, allocations: 8 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.008036, allocations: 15.86 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.008042, allocations: 4 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.008081, allocations: 105.7 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008081, allocations: 0 / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001545/0.008236, allocations: 35.88 kB / 1.006 GB, free: 6.848 MB / 0.9636 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.00034/0.008576, allocations: 0.6632 MB / 1.006 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.008805, allocations: 189 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008807, allocations: 0 / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.008865, allocations: 36.11 kB / 1.007 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.009026, allocations: 27.86 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.01033, allocations: 1.746 MB / 1.008 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.01038, allocations: 84.33 kB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01041, allocations: 8.484 kB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.01046, allocations: 36.48 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01046, allocations: 0 / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02592, allocations: 3.627 MB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.717, allocations: 12.84 kB / 1.012 GB, free: 448 kB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.590327454730868]