Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 69.73 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2973, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003139/0.3005, allocations: 1.413 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.3015, allocations: 0.5021 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.3015, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.708e-05/0.3016, allocations: 3.938 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.3017, allocations: 15.86 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.3025, allocations: 234.3 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3027, allocations: 147.8 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.3027, allocations: 8 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.3028, allocations: 55.84 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.3029, allocations: 43.81 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3029, allocations: 12 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.3032, allocations: 163.8 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.3033, allocations: 31.91 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.3034, allocations: 63.7 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.3038, allocations: 227.7 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3038, allocations: 7.984 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3038, allocations: 0 / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3038, allocations: 0 / 0.7865 GB, free: 10.32 MB / 0.6075 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.0006339/0.3044, allocations: 447 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3045, allocations: 8.031 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.3046, allocations: 34.75 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.3047, allocations: 8.844 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3049, allocations: 216 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3049, allocations: 12.36 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3049, allocations: 12.38 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3051, allocations: 83.89 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3051, allocations: 3.938 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.3051, allocations: 0 / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3051, allocations: 0 / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.3052, allocations: 43.91 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.3055, allocations: 230.5 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3056, allocations: 81.23 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.3057, allocations: 57.75 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3057, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3059, allocations: 120.9 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.3059, allocations: 0 / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003317/0.3063, allocations: 181.5 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.3063, allocations: 89.09 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3065, allocations: 148.4 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.3065, allocations: 37.69 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3066, allocations: 100.5 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3066, allocations: 39.47 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.3067, allocations: 57.7 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3069, allocations: 322.8 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.307, allocations: 43.97 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.3073, allocations: 209.7 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3074, allocations: 93.64 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3074, allocations: 4 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003019/0.3077, allocations: 165.3 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3078, allocations: 8.938 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.3078, allocations: 0 / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3078, allocations: 4 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.3079, allocations: 19.92 kB / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3079, allocations: 0 / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3082, allocations: 71.75 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3082, allocations: 4 kB / 0.7893 GB, free: 7.094 MB / 0.6075 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.000118/0.3083, allocations: 141.8 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.3083, allocations: 11.84 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.3084, allocations: 16.72 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3084, allocations: 96 / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3084, allocations: 3.984 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3084, allocations: 0 / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3086, allocations: 201.5 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3086, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.3086, allocations: 11.94 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3086, allocations: 4 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3086, allocations: 3.984 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3087, allocations: 0 / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3087, allocations: 0 / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3089, allocations: 185.7 kB / 0.7898 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3089, allocations: 92.86 kB / 0.7899 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.309, allocations: 8 kB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.309, allocations: 4 kB / 0.7899 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.3091, allocations: 7.984 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3091, allocations: 0 / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.931e-05/0.3092, allocations: 121.6 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3092, allocations: 0 / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002873/0.3095, allocations: 71.98 kB / 0.7901 GB, free: 6.125 MB / 0.6075 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.0006309/0.3101, allocations: 0.7732 MB / 0.7909 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.3104, allocations: 172.1 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3104, allocations: 0 / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3105, allocations: 51.86 kB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3107, allocations: 8 kB / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.3127, allocations: 1.713 MB / 0.7928 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3131, allocations: 0.7002 MB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.623e-05/0.3131, allocations: 12.66 kB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.3132, allocations: 27.44 kB / 0.7935 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3132, allocations: 0 / 0.7935 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.3348, allocations: 3.947 MB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.336, allocations: 8.609 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)