Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001242/0.001242, allocations: 110.1 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.001491/0.001491, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_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.002123/0.002123, allocations: 67.34 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5044, allocations: 179 MB / 1.345 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002822/0.5072, allocations: 1.446 MB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.5081, allocations: 494.2 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.5082, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.5083, allocations: 7.922 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.5083, allocations: 11.92 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.5092, allocations: 246.6 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.5094, allocations: 151.7 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.5094, allocations: 7.984 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.5095, allocations: 55.91 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.5096, allocations: 43.83 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.5097, allocations: 12 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.51, allocations: 191.8 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.5101, allocations: 39.89 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.5102, allocations: 59.73 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.5105, allocations: 231.5 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5105, allocations: 3.938 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.46e-05/0.5105, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5105, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 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.000648/0.5112, allocations: 377.5 kB / 1.349 GB, free: 13.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5112, allocations: 12.03 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/0.5113, allocations: 4.188 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.5113, allocations: 34.75 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.5113, allocations: 16.83 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.5116, allocations: 151.5 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.5116, allocations: 8.375 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.5116, allocations: 12.38 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.5118, allocations: 87.69 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5118, allocations: 3.984 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5118, allocations: 3.938 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5118, allocations: 4 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.5119, allocations: 43.92 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.5122, allocations: 201.6 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.5123, allocations: 73.19 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.5124, allocations: 53.8 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5124, allocations: 4 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.5127, allocations: 113 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.5127, allocations: 0 / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0003791/0.5131, allocations: 185.5 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.5132, allocations: 85.11 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.5133, allocations: 158.6 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.5134, allocations: 41.64 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.5134, allocations: 108.4 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.5135, allocations: 31.73 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.5136, allocations: 49.7 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5138, allocations: 330.8 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.5138, allocations: 39.98 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.5141, allocations: 195.4 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.5142, allocations: 97.58 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5142, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002679/0.5145, allocations: 177.4 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5145, allocations: 5.875 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.5145, allocations: 4 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5146, allocations: 0 / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.5146, allocations: 11.94 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5146, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.5149, allocations: 83.78 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.5149, allocations: 4 kB / 1.351 GB, free: 10.47 MB / 1.045 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.0001349/0.5151, allocations: 134.4 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.5151, allocations: 11.94 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.5151, allocations: 12.72 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5151, allocations: 8 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5151, allocations: 3.938 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5151, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.5153, allocations: 168.6 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5153, allocations: 4 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.5153, allocations: 4 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5153, allocations: 96 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5154, allocations: 4 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5154, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5154, allocations: 3.984 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.5156, allocations: 183.8 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.5156, allocations: 15.89 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.5157, allocations: 7.875 kB / 1.351 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.5157, allocations: 12 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5157, allocations: 3.984 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.5158, allocations: 4 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.5158, allocations: 117.1 kB / 1.352 GB, free: 9.711 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5159, allocations: 4 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003271/0.5162, allocations: 71.81 kB / 1.352 GB, free: 9.637 MB / 1.045 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.0007236/0.5169, allocations: 0.7753 MB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.5172, allocations: 155.4 kB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5172, allocations: 4 kB / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.5173, allocations: 43.92 kB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.5174, allocations: 7.984 kB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.5194, allocations: 1.709 MB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.5197, allocations: 0.7157 MB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.5198, allocations: 12.66 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.5198, allocations: 23.44 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of SimCode: time 8.52e-07/0.5198, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.5475, allocations: 4.184 MB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.19, allocations: 5.5 kB / 1.359 GB, free: 2.012 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.702687667973805] Failed to read output from testmodel.py, exit status != 0: 12.353906970995013 12.370608231 11.856869492 Calling exit ...