Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00143/0.00143, allocations: 116.1 kB / 17.17 MB, free: 6 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.001547/0.001547, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.67/1.67, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.226/3.226, 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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_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.002181/0.002181, allocations: 63.91 kB / 1.165 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384/1.386, allocations: 179 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00351/1.39, allocations: 1.509 MB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001329/1.391, allocations: 0.6859 MB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/1.391, allocations: 1.031 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/1.391, allocations: 8.047 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/1.391, allocations: 17.25 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/1.393, allocations: 347.7 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/1.393, allocations: 167.5 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/1.393, allocations: 3.266 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/1.393, allocations: 77.89 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/1.393, allocations: 51.36 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/1.393, allocations: 11.69 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/1.394, allocations: 258.2 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/1.394, allocations: 42.36 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/1.394, allocations: 59.55 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/1.394, allocations: 302.9 kB / 1.344 GB, free: 14.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.394, allocations: 2.625 kB / 1.344 GB, free: 14.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/1.394, allocations: 0 / 1.344 GB, free: 14.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.122e-06/1.394, allocations: 0 / 1.344 GB, free: 14.24 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.0006873/1.395, allocations: 489.2 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.395, allocations: 9 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/1.395, allocations: 10.17 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/1.395, allocations: 38.94 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/1.395, allocations: 12.42 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/1.396, allocations: 209.2 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.396, allocations: 8.406 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/1.396, allocations: 9.828 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/1.396, allocations: 102.9 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.396, allocations: 4 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.396, allocations: 1.875 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/1.396, allocations: 1.562 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/1.396, allocations: 49.31 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/1.396, allocations: 238.1 kB / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/1.396, allocations: 107.4 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/1.396, allocations: 62.03 kB / 1.345 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.397, allocations: 9.297 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/1.397, allocations: 147.8 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/1.397, allocations: 0 / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0004578/1.397, allocations: 209.4 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.397, allocations: 119.7 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.397, allocations: 144.9 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/1.398, allocations: 40.56 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/1.398, allocations: 94.09 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/1.398, allocations: 56.72 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.398, allocations: 68.09 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/1.398, allocations: 323.8 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.657e-05/1.398, allocations: 52.34 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.398, allocations: 184.4 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/1.398, allocations: 137 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.398, allocations: 4.875 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003158/1.399, allocations: 196.8 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.399, allocations: 7.25 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/1.399, allocations: 5.109 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.399, allocations: 2.688 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.399, allocations: 16.14 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.399, allocations: 1.594 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/1.399, allocations: 49.94 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/1.399, allocations: 6.25 kB / 1.347 GB, free: 11.73 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.0001214/1.399, allocations: 144.7 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.399, allocations: 13.23 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/1.399, allocations: 17.44 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.399, allocations: 2.406 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.399, allocations: 6.156 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.399, allocations: 0.5625 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/1.399, allocations: 208.4 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.399, allocations: 1.875 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/1.4, allocations: 13.62 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.4, allocations: 6.219 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.4, allocations: 2.891 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.4, allocations: 1.156 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.4, allocations: 1.156 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/1.4, allocations: 210.5 kB / 1.347 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/1.4, allocations: 95.31 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/1.4, allocations: 5.969 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/1.4, allocations: 5.156 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/1.4, allocations: 16.39 kB / 1.347 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/1.4, allocations: 4.797 kB / 1.347 GB, free: 11.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.961e-05/1.4, allocations: 112.6 kB / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.4, allocations: 0 / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004453/1.401, allocations: 106.1 kB / 1.348 GB, free: 10.99 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.0006899/1.401, allocations: 0.845 MB / 1.348 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003329/1.402, allocations: 216.7 kB / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.402, allocations: 0 / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/1.402, allocations: 45.78 kB / 1.349 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/1.402, allocations: 13.7 kB / 1.349 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/1.404, allocations: 1.829 MB / 1.35 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/1.404, allocations: 0.7104 MB / 1.351 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.002e-05/1.404, allocations: 11.83 kB / 1.351 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/1.404, allocations: 32.73 kB / 1.351 GB, free: 7.996 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.404, allocations: 1.438 kB / 1.351 GB, free: 7.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/1.433, allocations: 4.676 MB / 1.356 GB, free: 7.348 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/10.16, allocations: 7.328 kB / 1.356 GB, free: 7.344 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.602234456979204] Failed to read output from testmodel.py, exit status != 0: 10.284437413036358 10.296536149 8.899400407 Calling exit ...