Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001741/0.001741, 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.002021/0.002021, allocations: 217.6 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.682/1.682, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.077/3.077, allocations: 476.7 MB / 0.7714 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_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.002009/0.002009, allocations: 63.5 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3883, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002824/0.3911, allocations: 1.511 MB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3924, allocations: 0.7025 MB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.3925, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.18e-05/0.3925, allocations: 15.86 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3926, allocations: 11.86 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3937, allocations: 356.1 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.394, allocations: 175.6 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.394, allocations: 4 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.3941, allocations: 75.81 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3942, allocations: 55.75 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3942, allocations: 12 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.3947, allocations: 295.6 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.3948, allocations: 35.89 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.3949, allocations: 59.72 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.3953, allocations: 306.7 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3954, allocations: 4 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3954, allocations: 0 / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3954, allocations: 0 / 1.288 GB, free: 8.125 MB / 0.9825 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.0006781/0.396, allocations: 401.3 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3961, allocations: 8.031 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.713e-05/0.3961, allocations: 4.188 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.3961, allocations: 42.73 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.3962, allocations: 16.84 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.3964, allocations: 156.7 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3964, allocations: 4.375 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3965, allocations: 16.36 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3967, allocations: 100.5 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3967, allocations: 7.875 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3967, allocations: 4 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3967, allocations: 4 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.3968, allocations: 39.97 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.3971, allocations: 226.4 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3972, allocations: 99.86 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3974, allocations: 74.59 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3974, allocations: 4 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.3976, allocations: 132.5 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.3976, allocations: 0 / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004401/0.3981, allocations: 221.3 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/0.3982, allocations: 118.8 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3983, allocations: 148.3 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.3984, allocations: 33.7 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.3985, allocations: 100.6 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.3985, allocations: 55.62 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.3986, allocations: 57.69 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3988, allocations: 326.8 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3989, allocations: 56.25 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.3991, allocations: 176.5 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3993, allocations: 134.5 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3994, allocations: 7.938 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003371/0.3997, allocations: 197.4 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3997, allocations: 4 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.3997, allocations: 4 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3997, allocations: 4 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.3998, allocations: 15.94 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3999, allocations: 4 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4001, allocations: 51.78 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.4001, allocations: 8 kB / 1.291 GB, free: 4.816 MB / 0.9825 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.0001479/0.4002, allocations: 153.7 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.4003, allocations: 11.89 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.4003, allocations: 16.7 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4003, allocations: 4 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4003, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4003, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.4005, allocations: 180.6 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4005, allocations: 0 / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.4005, allocations: 20 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4005, allocations: 0 / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4005, allocations: 8 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4005, allocations: 0 / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4005, allocations: 3.938 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.4008, allocations: 214.6 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.4009, allocations: 15.84 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4009, allocations: 15.94 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.4009, allocations: 3.984 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.401, allocations: 7.984 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.401, allocations: 8 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.4011, allocations: 111.2 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4011, allocations: 0 / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003348/0.4014, allocations: 99.81 kB / 1.291 GB, free: 3.879 MB / 0.9825 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.0008288/0.4022, allocations: 0.8411 MB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.4026, allocations: 208.9 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4026, allocations: 0 / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.4027, allocations: 55.95 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.4028, allocations: 18.69 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.405, allocations: 1.821 MB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.4053, allocations: 0.7084 MB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.739e-05/0.4054, allocations: 8.984 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.4054, allocations: 39.36 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4054, allocations: 0 / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.4308, allocations: 4.839 MB / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 9.219 kB / 1.3 GB, free: 11.34 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.52086375601357] Failed to read output from testmodel.py, exit status != 0: 12.80689591995906 12.173091389 11.77445991 Calling exit ...