Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.00128/0.00128, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001428/0.001428, allocations: 216.2 kB / 23.03 MB, free: 4.926 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.256/3.256, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.00204/0.00204, allocations: 64.12 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4839, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003507/0.4874, allocations: 1.433 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4885, allocations: 454.4 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.4886, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.4887, allocations: 7.922 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.4888, allocations: 7.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009991/0.4898, allocations: 244.9 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.4901, allocations: 155.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.4902, allocations: 3.984 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.4903, allocations: 63.84 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4904, allocations: 31.91 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.4904, allocations: 12 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.4908, allocations: 195.8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4909, allocations: 39.89 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.491, allocations: 43.8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.4915, allocations: 239.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.4915, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.046e-06/0.4915, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.4915, allocations: 4 kB / 1.329 GB, free: 14.62 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008535/0.4923, allocations: 373.5 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.4924, allocations: 8.031 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.4924, allocations: 192 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.4925, allocations: 42.69 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.4925, allocations: 16.84 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.4928, allocations: 148.2 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4929, allocations: 4.375 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.4929, allocations: 16.38 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.4931, allocations: 87.69 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4931, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4931, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4931, allocations: 3.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.4932, allocations: 35.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.4935, allocations: 177.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.4937, allocations: 85.16 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.4937, allocations: 45.81 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4938, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.4941, allocations: 125 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.4941, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0004013/0.4945, allocations: 185.4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.4945, allocations: 89.09 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.4947, allocations: 147.3 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.4947, allocations: 37.69 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.4948, allocations: 108.4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.4949, allocations: 43.62 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.495, allocations: 49.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4952, allocations: 326.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.4952, allocations: 47.97 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.4958, allocations: 0.6009 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.4959, allocations: 93.64 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4959, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000253/0.4962, allocations: 161.4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4962, allocations: 14.17 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.4962, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4963, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.4963, allocations: 15.94 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4964, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.4966, allocations: 75.8 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4967, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001404/0.4968, allocations: 139 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.4968, allocations: 11.95 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.4969, allocations: 20.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4969, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4969, allocations: 3.938 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4969, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4971, allocations: 160.6 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4971, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.4971, allocations: 8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4971, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4971, allocations: 7.984 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4971, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4971, allocations: 8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4974, allocations: 181.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.4974, allocations: 7.953 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4974, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.4975, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.4975, allocations: 11.98 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4975, allocations: 4.094 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001059/0.4976, allocations: 116.8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4976, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003418/0.498, allocations: 79.8 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007882/0.4988, allocations: 0.786 MB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.4991, allocations: 151.4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4991, allocations: 0 / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.4991, allocations: 43.86 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.4993, allocations: 8 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.5014, allocations: 1.715 MB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.5015, allocations: 96.94 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.5015, allocations: 8.656 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.5016, allocations: 35.42 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.5016, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.5288, allocations: 4.362 MB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.12, allocations: 3.75 kB / 1.34 GB, free: 3.117 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.464970189961605] Failed to read output from testmodel.py, exit status != 0: 12.291316280025057 12.311735372 11.816642836 Calling exit ...