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.001356/0.001356, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001474/0.001474, allocations: 205.4 kB / 20.13 MB, free: 3.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.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.955/2.955, allocations: 476.7 MB / 0.7679 GB, free: 9.352 MB / 0.6075 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.002122/0.002122, allocations: 63.84 kB / 1.113 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448/1.45, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003375/1.453, allocations: 1.438 MB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001167/1.455, allocations: 0.5048 MB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/1.455, allocations: 1.281 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/1.455, allocations: 7.344 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/1.455, allocations: 12.47 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009144/1.456, allocations: 236.1 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/1.456, allocations: 146.1 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.488e-05/1.456, allocations: 3.125 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/1.456, allocations: 62.53 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/1.456, allocations: 46.19 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/1.456, allocations: 9.969 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/1.457, allocations: 169.4 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/1.457, allocations: 39.2 kB / 1.282 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/1.457, allocations: 52.77 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005869/1.458, allocations: 236.1 kB / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.458, allocations: 4.5 kB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.436e-06/1.458, allocations: 1.141 kB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.458, allocations: 0 / 1.282 GB, free: 10 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.0008744/1.458, allocations: 454.9 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.458, allocations: 10.58 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.719e-05/1.458, allocations: 1.656 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/1.459, allocations: 37.39 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/1.459, allocations: 16.72 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/1.459, allocations: 213.9 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/1.459, allocations: 5.938 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/1.459, allocations: 14.16 kB / 1.283 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/1.459, allocations: 88.2 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.459, allocations: 0 / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.459, allocations: 1.156 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.459, allocations: 1.188 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/1.459, allocations: 40.52 kB / 1.283 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/1.46, allocations: 228.4 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/1.46, allocations: 76.69 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.46, allocations: 51.45 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/1.46, allocations: 1.344 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/1.46, allocations: 114.8 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/1.46, allocations: 0 / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0004396/1.461, allocations: 190.1 kB / 1.283 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/1.461, allocations: 83.12 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/1.461, allocations: 150.4 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/1.461, allocations: 33.8 kB / 1.284 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/1.461, allocations: 101.5 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/1.461, allocations: 40.16 kB / 1.284 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.461, allocations: 49.42 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.462, allocations: 327.4 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/1.462, allocations: 41.77 kB / 1.284 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/1.462, allocations: 205.4 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/1.462, allocations: 97.53 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.462, allocations: 0 / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003039/1.462, allocations: 172.2 kB / 1.285 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.463, allocations: 6 kB / 1.285 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/1.463, allocations: 3.359 kB / 1.285 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.463, allocations: 1.125 kB / 1.285 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.463, allocations: 12.92 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.463, allocations: 5.312 kB / 1.285 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/1.463, allocations: 69.48 kB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.463, allocations: 7.875 kB / 1.285 GB, free: 7.684 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.0001809/1.463, allocations: 153.1 kB / 1.285 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/1.463, allocations: 13.44 kB / 1.285 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/1.463, allocations: 14.22 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.463, allocations: 1.312 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.463, allocations: 0.6094 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.463, allocations: 1.281 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/1.464, allocations: 192.7 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.464, allocations: 1.922 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/1.464, allocations: 13.83 kB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.464, allocations: 1.5 kB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.464, allocations: 5.938 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.464, allocations: 2.281 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.464, allocations: 0 / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/1.464, allocations: 180.8 kB / 1.285 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/1.464, allocations: 85.12 kB / 1.285 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/1.464, allocations: 6.859 kB / 1.285 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/1.464, allocations: 4.125 kB / 1.285 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/1.464, allocations: 8.453 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/1.464, allocations: 7.875 kB / 1.285 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001186/1.464, allocations: 120.4 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.464, allocations: 0 / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004367/1.465, allocations: 72 kB / 1.285 GB, free: 6.984 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.000875/1.466, allocations: 0.7883 MB / 1.286 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000335/1.466, allocations: 154.7 kB / 1.286 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.466, allocations: 0 / 1.286 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/1.466, allocations: 41.03 kB / 1.286 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/1.466, allocations: 10.16 kB / 1.286 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/1.469, allocations: 1.714 MB / 1.288 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/1.469, allocations: 0.7094 MB / 1.289 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.766e-05/1.469, allocations: 7.516 kB / 1.289 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/1.469, allocations: 32.16 kB / 1.289 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.469, allocations: 3.938 kB / 1.289 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/1.499, allocations: 4.044 MB / 1.293 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/10.54, allocations: 5.391 kB / 1.293 GB, free: 3.512 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.434065201028716] Failed to read output from testmodel.py, exit status != 0: 10.66316201002337 10.678458256 9.2175293 Calling exit ...