Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001706/0.001706, 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.002188/0.002188, allocations: 218.3 kB / 23.04 MB, free: 5.078 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 8.012 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 2.993/2.993, allocations: 476.7 MB / 0.7715 GB, free: 4.289 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.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_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.002156/0.002156, allocations: 64.22 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4989, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003367/0.5023, allocations: 1.452 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.5035, allocations: 0.4983 MB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.5036, allocations: 0 / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.5037, allocations: 11.92 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.5038, allocations: 3.938 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.5048, allocations: 247.9 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.5051, allocations: 151.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.5051, allocations: 7.938 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.5052, allocations: 59.84 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.5053, allocations: 39.89 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.5054, allocations: 8 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.5057, allocations: 199.8 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.5058, allocations: 37.7 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.5059, allocations: 55.73 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.5063, allocations: 234.8 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5063, allocations: 4 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5063, allocations: 0 / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5064, allocations: 0 / 1.287 GB, free: 8.613 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009765/0.5073, allocations: 373.6 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/0.5074, allocations: 8.031 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.425e-05/0.5074, allocations: 192 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.5075, allocations: 42.69 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.5076, allocations: 16.84 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.5079, allocations: 154.3 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5079, allocations: 4.375 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.508, allocations: 20.36 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.5082, allocations: 79.7 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5082, allocations: 4 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5082, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5082, allocations: 4 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.5083, allocations: 39.92 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.5086, allocations: 201.6 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.5088, allocations: 77.12 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.5089, allocations: 53.84 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.5089, allocations: 8 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.5092, allocations: 101 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.5092, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0004051/0.5096, allocations: 193.5 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.5097, allocations: 85.11 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.5098, allocations: 152 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.5099, allocations: 41.64 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.51, allocations: 100.5 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.5101, allocations: 39.69 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.5101, allocations: 53.58 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5103, allocations: 326.8 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.5104, allocations: 39.98 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.5107, allocations: 197.8 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.5108, allocations: 101.6 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5108, allocations: 4 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002599/0.5111, allocations: 169.4 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5111, allocations: 4 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.5112, allocations: 4 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5112, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.5113, allocations: 15.92 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5113, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.5116, allocations: 75.8 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5116, allocations: 4 kB / 1.29 GB, free: 5.586 MB / 0.9825 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.0001674/0.5118, allocations: 137.8 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.5118, allocations: 7.953 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.5118, allocations: 12.72 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5118, allocations: 4 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5118, allocations: 0 / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5118, allocations: 4 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.512, allocations: 176.6 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5121, allocations: 3.938 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.5121, allocations: 8 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5121, allocations: 0 / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5121, allocations: 0 / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5121, allocations: 7.938 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.5121, allocations: 3.984 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.5124, allocations: 177.8 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.5124, allocations: 11.89 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.5124, allocations: 8 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.5125, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.5125, allocations: 11.92 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5126, allocations: 4 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001106/0.5127, allocations: 121.3 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5127, allocations: 4 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003692/0.513, allocations: 71.86 kB / 1.29 GB, free: 4.75 MB / 0.9825 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.000847/0.5139, allocations: 0.7778 MB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.5142, allocations: 159.5 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5142, allocations: 4 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.5143, allocations: 39.92 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.5145, allocations: 14.12 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.5167, allocations: 1.723 MB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5171, allocations: 0.708 MB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.558e-05/0.5172, allocations: 12.66 kB / 1.294 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.5173, allocations: 23.44 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of SimCode: time 1.152e-06/0.5173, allocations: 0 / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.5461, allocations: 4.197 MB / 1.298 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.44, allocations: 1.875 kB / 1.298 GB, free: 13.11 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.061377742968034] Failed to read output from testmodel.py, exit status != 0: 13.423030586971436 12.626209492 12.114947157 Calling exit ...