Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001754/0.001754, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.00197/0.00197, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.685/1.685, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.162/3.162, allocations: 476.7 MB / 0.7678 GB, free: 9.293 MB / 0.6075 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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.002264/0.002264, allocations: 63.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276/1.278, allocations: 169.9 MB / 1.279 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003309/1.281, allocations: 1.505 MB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001457/1.283, allocations: 0.7012 MB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/1.283, allocations: 1.062 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.843e-05/1.283, allocations: 12.53 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-05/1.283, allocations: 16.62 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/1.284, allocations: 346 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/1.284, allocations: 171.4 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/1.284, allocations: 7.672 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/1.285, allocations: 66.14 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/1.285, allocations: 54.02 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/1.285, allocations: 11.72 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/1.285, allocations: 255.2 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/1.285, allocations: 34.23 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/1.286, allocations: 67.25 kB / 1.282 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000555/1.286, allocations: 304.5 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.286, allocations: 4 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.286, allocations: 0 / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.286, allocations: 0 / 1.282 GB, free: 9.617 MB / 0.9981 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.0008106/1.287, allocations: 477.7 kB / 1.283 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.287, allocations: 10.59 kB / 1.283 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/1.287, allocations: 5.875 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/1.287, allocations: 35.66 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/1.287, allocations: 15.53 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/1.287, allocations: 219.9 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.287, allocations: 10.48 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/1.287, allocations: 8.688 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/1.288, allocations: 102.4 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.288, allocations: 4.453 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.288, allocations: 5.5 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.288, allocations: 2.156 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/1.288, allocations: 40.78 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/1.288, allocations: 254.8 kB / 1.284 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/1.288, allocations: 102.5 kB / 1.284 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/1.289, allocations: 66.44 kB / 1.284 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/1.289, allocations: 5.25 kB / 1.284 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/1.289, allocations: 131.5 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/1.289, allocations: 1.375 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0005279/1.289, allocations: 225.4 kB / 1.284 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.289, allocations: 116 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/1.29, allocations: 145.5 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/1.29, allocations: 35.8 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/1.29, allocations: 96 kB / 1.284 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/1.29, allocations: 64.98 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.29, allocations: 59.56 kB / 1.285 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.29, allocations: 327.3 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/1.29, allocations: 56.56 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/1.291, allocations: 176.4 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/1.291, allocations: 137.3 kB / 1.285 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.291, allocations: 6.328 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003439/1.291, allocations: 192 kB / 1.285 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.291, allocations: 4.812 kB / 1.285 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/1.291, allocations: 5.25 kB / 1.285 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.291, allocations: 2.469 kB / 1.285 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.291, allocations: 16.33 kB / 1.285 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/1.291, allocations: 2.062 kB / 1.285 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/1.292, allocations: 55.88 kB / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.292, allocations: 9.188 kB / 1.285 GB, free: 7.105 MB / 0.9981 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.0001642/1.292, allocations: 144.6 kB / 1.286 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/1.292, allocations: 13.66 kB / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/1.292, allocations: 13.75 kB / 1.286 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.292, allocations: 1.375 kB / 1.286 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.292, allocations: 2.078 kB / 1.286 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.292, allocations: 1.984 kB / 1.286 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/1.292, allocations: 215.8 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.292, allocations: 1.859 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/1.292, allocations: 13.78 kB / 1.286 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.292, allocations: 1.344 kB / 1.286 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.292, allocations: 6.828 kB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.292, allocations: 2.109 kB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.292, allocations: 0.9375 kB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/1.293, allocations: 220.2 kB / 1.286 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/1.293, allocations: 90.23 kB / 1.286 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/1.293, allocations: 6.844 kB / 1.286 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/1.293, allocations: 9.109 kB / 1.286 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/1.293, allocations: 7.828 kB / 1.286 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/1.293, allocations: 9.141 kB / 1.286 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001134/1.293, allocations: 105.7 kB / 1.286 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.293, allocations: 0 / 1.286 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005356/1.293, allocations: 104.9 kB / 1.286 GB, free: 6.367 MB / 0.9981 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.0009768/1.294, allocations: 0.851 MB / 1.287 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004097/1.295, allocations: 212.5 kB / 1.287 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.295, allocations: 0 / 1.287 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/1.295, allocations: 50.69 kB / 1.287 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/1.295, allocations: 18.72 kB / 1.287 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/1.297, allocations: 1.814 MB / 1.289 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/1.298, allocations: 0.7148 MB / 1.29 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.27e-05/1.298, allocations: 13.59 kB / 1.29 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/1.298, allocations: 34.12 kB / 1.29 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.298, allocations: 3.938 kB / 1.29 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/1.325, allocations: 4.68 MB / 1.295 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.776/10.1, allocations: 8.656 kB / 1.295 GB, free: 2.711 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.34807989699766] Failed to read output from testmodel.py, exit status != 0: 10.229078156000469 10.243582418 8.954189088 Calling exit ...