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.00177/0.00177, allocations: 116.8 kB / 17.17 MB, free: 5.906 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.002284/0.002284, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.689/1.689, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.283/3.283, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 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.002569/0.002569, allocations: 67.89 kB / 1.165 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336/1.338, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003151/1.341, allocations: 1.515 MB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001274/1.343, allocations: 0.6779 MB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/1.343, allocations: 0.875 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/1.343, allocations: 11.83 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/1.343, allocations: 17.48 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/1.344, allocations: 339.7 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/1.344, allocations: 172 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/1.344, allocations: 8 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/1.344, allocations: 69.7 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/1.345, allocations: 49.92 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/1.345, allocations: 11.75 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/1.345, allocations: 259 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/1.345, allocations: 38.42 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/1.345, allocations: 59.14 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/1.346, allocations: 311.5 kB / 1.344 GB, free: 14.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.346, allocations: 0.6562 kB / 1.344 GB, free: 14.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.087e-06/1.346, allocations: 1.125 kB / 1.344 GB, free: 14.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.346, allocations: 0 / 1.344 GB, free: 14.17 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007383/1.347, allocations: 485.3 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.347, allocations: 13.94 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.234e-05/1.347, allocations: 5.656 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/1.347, allocations: 38.48 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/1.347, allocations: 17.08 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/1.347, allocations: 208.4 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/1.347, allocations: 9.656 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/1.347, allocations: 12.11 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/1.347, allocations: 99.31 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.347, allocations: 0 / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/1.347, allocations: 2.031 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.347, allocations: 1.25 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/1.347, allocations: 57.59 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/1.348, allocations: 242.7 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/1.348, allocations: 98.45 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/1.348, allocations: 69.61 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/1.348, allocations: 2.031 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/1.348, allocations: 141.5 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/1.348, allocations: 0 / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0004835/1.349, allocations: 217.4 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/1.349, allocations: 125.1 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.349, allocations: 145.8 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/1.349, allocations: 35.91 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/1.349, allocations: 99.61 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/1.349, allocations: 59.61 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.349, allocations: 60.72 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/1.349, allocations: 328.2 kB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/1.35, allocations: 59.48 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.35, allocations: 174.2 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/1.35, allocations: 136.1 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.35, allocations: 5.406 kB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003268/1.35, allocations: 196.4 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.35, allocations: 6.391 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.35, allocations: 5.109 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.35, allocations: 1.625 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/1.351, allocations: 15.17 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.351, allocations: 2.734 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/1.351, allocations: 51.64 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/1.351, allocations: 10.3 kB / 1.347 GB, free: 11.65 MB / 1.061 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.0001236/1.351, allocations: 140.8 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/1.351, allocations: 12.64 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/1.351, allocations: 18.09 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.351, allocations: 5.516 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.351, allocations: 5.297 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/1.351, allocations: 6 kB / 1.347 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/1.351, allocations: 208.2 kB / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.351, allocations: 5.5 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/1.351, allocations: 9.344 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.351, allocations: 1.25 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.351, allocations: 8.141 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.351, allocations: 1.281 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.351, allocations: 1.25 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/1.352, allocations: 214.7 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/1.352, allocations: 89.66 kB / 1.347 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/1.352, allocations: 11.42 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/1.352, allocations: 4.453 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/1.352, allocations: 11.88 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/1.352, allocations: 5.234 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.616e-05/1.352, allocations: 107 kB / 1.347 GB, free: 10.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.352, allocations: 0 / 1.347 GB, free: 10.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004704/1.352, allocations: 106.1 kB / 1.348 GB, free: 10.92 MB / 1.061 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.0007162/1.353, allocations: 0.8396 MB / 1.348 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003653/1.353, allocations: 214 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.353, allocations: 0 / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/1.353, allocations: 53.75 kB / 1.349 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.354, allocations: 12.34 kB / 1.349 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/1.356, allocations: 1.825 MB / 1.35 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/1.356, allocations: 0.7138 MB / 1.351 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.41e-05/1.356, allocations: 12.2 kB / 1.351 GB, free: 7.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/1.356, allocations: 32.92 kB / 1.351 GB, free: 7.926 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.356, allocations: 0 / 1.351 GB, free: 7.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/1.381, allocations: 4.69 MB / 1.356 GB, free: 7.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/10.03, allocations: 9.266 kB / 1.356 GB, free: 7.262 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.4555830360041] Failed to read output from testmodel.py, exit status != 0: 10.157986855017953 10.173694356 8.824689251 Calling exit ...