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.001346/0.001346, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00144/0.00144, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.94/2.94, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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.002091/0.002091, allocations: 71.38 kB / 1.118 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 169.9 MB / 1.284 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003707/0.3991, allocations: 1.424 MB / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4002, allocations: 462.5 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.4003, allocations: 4 kB / 1.286 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.814e-05/0.4004, allocations: 3.938 kB / 1.286 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.4005, allocations: 11.92 kB / 1.286 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.4016, allocations: 246.7 kB / 1.286 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.4019, allocations: 151.7 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.4019, allocations: 0 / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.402, allocations: 59.89 kB / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4022, allocations: 47.83 kB / 1.286 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.4022, allocations: 12 kB / 1.286 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.4026, allocations: 191.8 kB / 1.287 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.4027, allocations: 37.33 kB / 1.287 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.748e-05/0.4028, allocations: 51.77 kB / 1.287 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.4033, allocations: 231.6 kB / 1.287 GB, free: 488 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4033, allocations: 0 / 1.287 GB, free: 488 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4033, allocations: 4 kB / 1.287 GB, free: 484 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4033, allocations: 0 / 1.287 GB, free: 484 kB / 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.0007585/0.4041, allocations: 373.6 kB / 1.287 GB, free: 76 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.4041, allocations: 15.97 kB / 1.287 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.965e-05/0.4041, allocations: 4.188 kB / 1.287 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.4042, allocations: 42.67 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.4043, allocations: 16.89 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4045, allocations: 152.3 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4045, allocations: 8.375 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.4046, allocations: 12.38 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.4048, allocations: 87.64 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4048, allocations: 3.938 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4048, allocations: 0 / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4048, allocations: 0 / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.4049, allocations: 43.97 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.4052, allocations: 181.7 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4053, allocations: 77.19 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.4054, allocations: 45.81 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.4054, allocations: 3.984 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.4057, allocations: 113 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.4057, allocations: 0 / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003928/0.4061, allocations: 189.9 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.4062, allocations: 89.05 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.4064, allocations: 151.9 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.4064, allocations: 33.7 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.4065, allocations: 104.5 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.4065, allocations: 43.67 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.4066, allocations: 53.64 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4068, allocations: 326.8 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.4069, allocations: 39.98 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.4073, allocations: 0.6035 MB / 1.29 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.4075, allocations: 93.64 kB / 1.29 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4075, allocations: 0 / 1.29 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002924/0.4078, allocations: 161.5 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4078, allocations: 8 kB / 1.29 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.4078, allocations: 8.094 kB / 1.29 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4078, allocations: 0 / 1.29 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.4079, allocations: 15.98 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.408, allocations: 3.984 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.4083, allocations: 63.91 kB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.4083, allocations: 8 kB / 1.29 GB, free: 12.96 MB / 0.9981 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.0001518/0.4084, allocations: 145.6 kB / 1.29 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.4085, allocations: 15.98 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.4085, allocations: 12.72 kB / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4085, allocations: 0 / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4085, allocations: 3.938 kB / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4085, allocations: 8 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.4087, allocations: 160.6 kB / 1.29 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4087, allocations: 0 / 1.29 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.4087, allocations: 8 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4087, allocations: 0 / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4087, allocations: 0 / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4087, allocations: 4 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4087, allocations: 4 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.409, allocations: 194.7 kB / 1.29 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.409, allocations: 7.953 kB / 1.29 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.4091, allocations: 7.984 kB / 1.29 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.4091, allocations: 4 kB / 1.29 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.4092, allocations: 11.98 kB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4092, allocations: 4 kB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.533e-05/0.4093, allocations: 111.2 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4093, allocations: 0 / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003591/0.4096, allocations: 71.81 kB / 1.291 GB, free: 12.13 MB / 0.9981 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.0007706/0.4104, allocations: 0.78 MB / 1.291 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.4107, allocations: 151.4 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4107, allocations: 3.938 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.4108, allocations: 39.98 kB / 1.292 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.4109, allocations: 14.17 kB / 1.292 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.413, allocations: 1.728 MB / 1.293 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.342e-05/0.4131, allocations: 88.98 kB / 1.293 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.4131, allocations: 8.656 kB / 1.293 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.4132, allocations: 31.44 kB / 1.293 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.4132, allocations: 4 kB / 1.293 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.4401, allocations: 4.352 MB / 1.298 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12, allocations: 4.156 kB / 1.298 GB, free: 4.98 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.913043103995733] Failed to read output from testmodel.py, exit status != 0: 12.164582664961927 12.188647498 11.78081147 Calling exit ...