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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 111.3 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.964/2.964, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 67.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551/1.553, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003784/1.557, allocations: 1.43 MB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001232/1.558, allocations: 0.5081 MB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/1.558, allocations: 0.6562 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/1.558, allocations: 7.797 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/1.558, allocations: 12 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/1.559, allocations: 243.4 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/1.56, allocations: 145.3 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/1.56, allocations: 1.844 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/1.56, allocations: 61.64 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/1.56, allocations: 44.44 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/1.56, allocations: 9.469 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/1.561, allocations: 171.2 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/1.561, allocations: 39.66 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/1.561, allocations: 46.81 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/1.561, allocations: 233.7 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/1.561, allocations: 3.516 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.305e-06/1.561, allocations: 0 / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.561, allocations: 1 kB / 1.274 GB, free: 5.973 MB / 0.9981 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.0007652/1.562, allocations: 454.9 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/1.562, allocations: 9.594 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/1.562, allocations: 40.14 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/1.562, allocations: 12.14 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/1.562, allocations: 212.2 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/1.562, allocations: 9.5 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/1.562, allocations: 9.781 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/1.563, allocations: 83.16 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.563, allocations: 6.328 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.563, allocations: 4.75 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.563, allocations: 0.7812 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/1.563, allocations: 38.94 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/1.563, allocations: 228.9 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/1.563, allocations: 77.23 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.564, allocations: 58.97 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/1.564, allocations: 1.438 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/1.564, allocations: 110.9 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/1.564, allocations: 0.7188 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.000538/1.564, allocations: 192.6 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.565, allocations: 83.16 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/1.565, allocations: 154.8 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/1.565, allocations: 34.7 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/1.565, allocations: 100.3 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/1.565, allocations: 38.02 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.565, allocations: 49.23 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.565, allocations: 322 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/1.565, allocations: 46.56 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/1.566, allocations: 199.2 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/1.566, allocations: 93.81 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.566, allocations: 0 / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003315/1.566, allocations: 168.5 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.566, allocations: 7.75 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/1.566, allocations: 3.75 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/1.566, allocations: 2.25 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.566, allocations: 10.72 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.566, allocations: 1.484 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/1.567, allocations: 77.98 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/1.567, allocations: 4.438 kB / 1.277 GB, free: 3.656 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.0001487/1.567, allocations: 146.6 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/1.567, allocations: 16.53 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/1.567, allocations: 13.88 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.567, allocations: 1.469 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.567, allocations: 0.75 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.567, allocations: 1.984 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.567, allocations: 192.5 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.567, allocations: 0.9062 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/1.567, allocations: 15.19 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.567, allocations: 0.6875 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.567, allocations: 6.906 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.567, allocations: 1.188 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.567, allocations: 0.9375 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/1.567, allocations: 185.5 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/1.567, allocations: 84.41 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/1.568, allocations: 2.328 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/1.568, allocations: 3.484 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/1.568, allocations: 9.656 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/1.568, allocations: 13.42 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.658e-05/1.568, allocations: 113.3 kB / 1.278 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.568, allocations: 0 / 1.278 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004854/1.568, allocations: 71.52 kB / 1.278 GB, free: 2.953 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.0007483/1.569, allocations: 0.7925 MB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003352/1.569, allocations: 158 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.569, allocations: 0 / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/1.569, allocations: 42.31 kB / 1.279 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/1.57, allocations: 12.23 kB / 1.279 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.572, allocations: 1.723 MB / 1.281 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/1.572, allocations: 0.703 MB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.993e-05/1.572, allocations: 11.56 kB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/1.572, allocations: 27.03 kB / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.572, allocations: 0 / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/1.605, allocations: 3.98 MB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/10.07, allocations: 10.16 kB / 1.285 GB, free: 15.52 MB / 1.014 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 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: 16.764133171993308] Failed to read output from testmodel.py, exit status != 0: 10.146379965997767 10.17036862 8.604531116 Calling exit ...