Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002028/0.002028, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001546/0.001546, allocations: 215.2 kB / 23.04 MB, free: 5.07 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.423/3.423, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_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.002167/0.002167, allocations: 61.59 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4984, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003269/0.5017, allocations: 1.518 MB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.5031, allocations: 0.6812 MB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.5031, allocations: 4 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.5033, allocations: 11.92 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.5033, allocations: 11.81 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.5046, allocations: 358 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.5049, allocations: 175.6 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.505, allocations: 12 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.5051, allocations: 67.84 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.5052, allocations: 55.81 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.5053, allocations: 12 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.5058, allocations: 291.7 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.5058, allocations: 39.83 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.5059, allocations: 55.78 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.5064, allocations: 303.3 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5064, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5064, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5064, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 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.0006977/0.5071, allocations: 413.3 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/0.5072, allocations: 15.97 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.44e-05/0.5072, allocations: 192 / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.5072, allocations: 38.75 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.5073, allocations: 12.84 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.5075, allocations: 150.4 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.5075, allocations: 16.36 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.5076, allocations: 8.375 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.5078, allocations: 104.5 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5078, allocations: 0 / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.5078, allocations: 8 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5079, allocations: 0 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.508, allocations: 43.91 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.5083, allocations: 222.4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.5084, allocations: 107.9 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5086, allocations: 58.67 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5086, allocations: 3.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.5089, allocations: 137.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.5089, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004802/0.5094, allocations: 229.4 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.5095, allocations: 110.8 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.5097, allocations: 147.5 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.5097, allocations: 37.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.5098, allocations: 96.64 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.5099, allocations: 55.62 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.5099, allocations: 57.69 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5101, allocations: 330.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.5102, allocations: 52.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.5104, allocations: 176.5 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.5106, allocations: 138.5 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5106, allocations: 3.938 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000336/0.511, allocations: 201.4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.511, allocations: 5.25 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.511, allocations: 4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.511, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5111, allocations: 15.98 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5111, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.5114, allocations: 43.84 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5114, allocations: 15.94 kB / 1.333 GB, free: 11.07 MB / 1.029 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.0001444/0.5115, allocations: 142.5 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.5116, allocations: 19.91 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.5116, allocations: 12.72 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5116, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5116, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5116, allocations: 3.984 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.5118, allocations: 176.6 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5118, allocations: 7.938 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.5119, allocations: 15.92 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5119, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5119, allocations: 8 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.5119, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5119, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.5122, allocations: 216.5 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.5122, allocations: 19.83 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.5122, allocations: 7.938 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.5123, allocations: 8 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.5123, allocations: 11.92 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5123, allocations: 15.98 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.5124, allocations: 108.5 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.5124, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003857/0.5128, allocations: 99.8 kB / 1.334 GB, free: 10.13 MB / 1.029 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.0008335/0.5136, allocations: 0.856 MB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.514, allocations: 206.3 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.514, allocations: 0 / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.5141, allocations: 51.92 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.5143, allocations: 17.94 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.5164, allocations: 1.815 MB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5167, allocations: 0.72 MB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.5168, allocations: 13.25 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.5168, allocations: 31.42 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.5168, allocations: 4 kB / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.5432, allocations: 4.834 MB / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12, allocations: 12.67 kB / 1.342 GB, free: 1.574 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.489341561042238] Failed to read output from testmodel.py, exit status != 0: 12.173977668979205 12.200886667 11.689278292 Calling exit ...