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.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.001399/0.001399, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002088/0.002088, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.588/3.588, allocations: 0.5003 GB / 0.8062 GB, free: 26.77 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.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="cs",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.002152/0.002152, allocations: 66.53 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4483, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003402/0.4517, allocations: 1.525 MB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.4532, allocations: 0.6774 MB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.4533, allocations: 0 / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.4534, allocations: 15.86 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.4535, allocations: 15.8 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.455, allocations: 355.6 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.4553, allocations: 175.6 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.325e-05/0.4554, allocations: 4 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.4555, allocations: 75.83 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4557, allocations: 51.81 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.4557, allocations: 12 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.4563, allocations: 291.6 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.4564, allocations: 35.89 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.4565, allocations: 59.72 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.4571, allocations: 307.3 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4571, allocations: 0 / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.44e-06/0.4572, allocations: 3.984 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.4572, allocations: 0 / 1.349 GB, free: 12.91 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008377/0.458, allocations: 413.3 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.458, allocations: 8.031 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.4581, allocations: 4.188 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.4581, allocations: 34.75 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.4582, allocations: 16.88 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.4585, allocations: 160 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4585, allocations: 8.375 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.4585, allocations: 8.375 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.4587, allocations: 104.5 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4588, allocations: 7.922 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4588, allocations: 4 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4588, allocations: 4 kB / 1.35 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.4589, allocations: 39.97 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.4592, allocations: 214.5 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4594, allocations: 103.9 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.4595, allocations: 62.67 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.4595, allocations: 7.922 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.4599, allocations: 139.1 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.4599, allocations: 0 / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0005222/0.4604, allocations: 221.4 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.4605, allocations: 110.8 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4606, allocations: 151.7 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.4607, allocations: 37.7 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.4608, allocations: 96.64 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.4609, allocations: 63.56 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.461, allocations: 61.62 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4612, allocations: 326.8 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4613, allocations: 52.27 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.4615, allocations: 180.5 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.4618, allocations: 134.5 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4618, allocations: 3.938 kB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003783/0.4622, allocations: 198.2 kB / 1.352 GB, free: 9.684 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.4622, allocations: 4 kB / 1.352 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.4622, allocations: 11.98 kB / 1.352 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.4622, allocations: 4 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4624, allocations: 11.94 kB / 1.352 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4624, allocations: 4 kB / 1.352 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.4626, allocations: 46.66 kB / 1.352 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4626, allocations: 8 kB / 1.352 GB, free: 9.598 MB / 1.045 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.0001723/0.4628, allocations: 152.5 kB / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.4628, allocations: 15.91 kB / 1.352 GB, free: 9.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.4629, allocations: 16.7 kB / 1.352 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.4629, allocations: 4 kB / 1.352 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4629, allocations: 0 / 1.352 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4629, allocations: 0 / 1.352 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4631, allocations: 172.6 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.4631, allocations: 3.984 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.4632, allocations: 12 kB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4632, allocations: 3.938 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.4632, allocations: 8 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4632, allocations: 4 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4632, allocations: 0 / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.4635, allocations: 222.7 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.4636, allocations: 15.84 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.4636, allocations: 7.938 kB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.4637, allocations: 7.984 kB / 1.352 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.4637, allocations: 11.98 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4637, allocations: 8 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.388e-05/0.4638, allocations: 100.5 kB / 1.352 GB, free: 8.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4638, allocations: 0 / 1.352 GB, free: 8.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004622/0.4643, allocations: 103.8 kB / 1.353 GB, free: 8.668 MB / 1.045 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.001015/0.4653, allocations: 0.8504 MB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.4657, allocations: 208.9 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4657, allocations: 0 / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.4658, allocations: 43.98 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.466, allocations: 19.86 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.4684, allocations: 1.83 MB / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.4688, allocations: 0.7162 MB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.4688, allocations: 13.27 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.4689, allocations: 39.41 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of SimCode: time 8.81e-07/0.4689, allocations: 0 / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4972, allocations: 4.832 MB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.1, allocations: 3.094 kB / 1.361 GB, free: 108 kB / 1.045 GB " [Timeout remaining time 288] (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] [Calling os._exit(0), Time elapsed: 19.843144957034383] Failed to read output from testmodel.py, exit status != 0: 12.271939472004306 12.289976273 11.829224816 Calling exit ...