Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 110 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.312/3.312, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 66.17 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002641/0.3915, allocations: 1.486 MB / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3928, allocations: 0.7045 MB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.3928, allocations: 0 / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.299e-05/0.3929, allocations: 11.88 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.393, allocations: 15.86 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.3939, allocations: 342.9 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3941, allocations: 171.7 kB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.3942, allocations: 11.92 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.3943, allocations: 63.84 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.3944, allocations: 63.73 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.3944, allocations: 8 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.3948, allocations: 251.8 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.3948, allocations: 43.88 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.3949, allocations: 55.73 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.3953, allocations: 303.4 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3953, allocations: 0 / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3953, allocations: 0 / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3953, allocations: 0 / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000634/0.3959, allocations: 486.5 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.396, allocations: 8.625 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.396, allocations: 46.67 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.3961, allocations: 16.84 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3963, allocations: 208.2 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3963, allocations: 4.375 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3964, allocations: 12.38 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3966, allocations: 98.61 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3966, allocations: 11.92 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3966, allocations: 11.92 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3966, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.3967, allocations: 43.92 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.397, allocations: 251.3 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3971, allocations: 103.9 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.3972, allocations: 62.67 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3972, allocations: 0 / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.3975, allocations: 145.7 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.3975, allocations: 4 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0004276/0.398, allocations: 209.5 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.398, allocations: 110.8 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3982, allocations: 143.4 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3982, allocations: 37.7 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.3983, allocations: 92.7 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.3983, allocations: 63.56 kB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.3984, allocations: 65.69 kB / 1.309 GB, free: 11.56 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3986, allocations: 326.8 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.3987, allocations: 48.27 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3989, allocations: 180.5 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.3991, allocations: 134.5 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3991, allocations: 0 / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003091/0.3994, allocations: 205.4 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3994, allocations: 4 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.3994, allocations: 7.984 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3995, allocations: 4 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.3995, allocations: 12 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/0.3996, allocations: 4 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3998, allocations: 55.73 kB / 1.31 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3998, allocations: 8 kB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001337/0.3999, allocations: 148.1 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3999, allocations: 11.95 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.4, allocations: 8.719 kB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4, allocations: 7.984 kB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4, allocations: 4 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4, allocations: 0 / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4002, allocations: 205.5 kB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4002, allocations: 4 kB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.4002, allocations: 19.92 kB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4002, allocations: 0 / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4003, allocations: 4 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4003, allocations: 0 / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4003, allocations: 0 / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.4006, allocations: 218.6 kB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.4006, allocations: 89 kB / 1.311 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4006, allocations: 11.94 kB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.4007, allocations: 7.922 kB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.4007, allocations: 11.94 kB / 1.311 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4008, allocations: 11.98 kB / 1.311 GB, free: 9.668 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.4008, allocations: 104.7 kB / 1.311 GB, free: 9.566 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4008, allocations: 4 kB / 1.311 GB, free: 9.562 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003566/0.4012, allocations: 95.8 kB / 1.311 GB, free: 9.469 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007701/0.402, allocations: 0.8393 MB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.4023, allocations: 229.2 kB / 1.312 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4023, allocations: 0 / 1.312 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.4024, allocations: 47.92 kB / 1.312 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.4026, allocations: 19.78 kB / 1.312 GB, free: 8.289 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.4046, allocations: 1.829 MB / 1.314 GB, free: 6.352 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4049, allocations: 0.7084 MB / 1.315 GB, free: 5.617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.405, allocations: 8.875 kB / 1.315 GB, free: 5.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.405, allocations: 35.42 kB / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.405, allocations: 0 / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.4322, allocations: 4.633 MB / 1.32 GB, free: 1.117 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.609, allocations: 7.562 kB / 1.32 GB, free: 1.113 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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: 15.910394356120378]