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.0009676/0.0009677, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009025/0.0009025, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.606/1.606, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005713/0.0005713, allocations: 11.25 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.273, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001766/0.2748, allocations: 1.124 MB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.2757, allocations: 452.1 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.2757, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.345e-05/0.2758, allocations: 11.92 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2759, allocations: 3.938 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.2765, allocations: 194.1 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.2767, allocations: 87.89 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.2768, allocations: 3.984 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.2769, allocations: 55.84 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.2769, allocations: 43.89 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.277, allocations: 7.984 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.2772, allocations: 139.8 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.2773, allocations: 31.91 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.2774, allocations: 45.62 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.2776, allocations: 156 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2776, allocations: 0 / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.594e-06/0.2776, allocations: 0 / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.2776, allocations: 4 kB / 0.7895 GB, free: 9.555 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.0005754/0.2782, allocations: 429.7 kB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2783, allocations: 8.031 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.2783, allocations: 34.56 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.2784, allocations: 15.81 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2786, allocations: 206.9 kB / 0.7902 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2786, allocations: 11.98 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.2787, allocations: 8 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.2789, allocations: 87.33 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2789, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2789, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2789, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.279, allocations: 35.98 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.2793, allocations: 242.3 kB / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2794, allocations: 85.23 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2794, allocations: 3.984 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.2796, allocations: 109.1 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.2797, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004463/0.2801, allocations: 352.1 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.2802, allocations: 89.09 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2803, allocations: 149.7 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.2804, allocations: 33.7 kB / 0.7913 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.2805, allocations: 100.5 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.2805, allocations: 39.53 kB / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.2805, allocations: 0 / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2807, allocations: 326.8 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.2808, allocations: 48.16 kB / 0.7918 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.281, allocations: 205 kB / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.2811, allocations: 52 kB / 0.792 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2811, allocations: 7.875 kB / 0.7921 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002174/0.2813, allocations: 157.4 kB / 0.7922 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2814, allocations: 4 kB / 0.7922 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.2814, allocations: 4 kB / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2814, allocations: 0 / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.2815, allocations: 19.94 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2815, allocations: 0 / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.2818, allocations: 87.83 kB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2818, allocations: 8 kB / 0.7923 GB, free: 6.309 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.282, allocations: 133.8 kB / 0.7924 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.282, allocations: 15.8 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.282, allocations: 16.7 kB / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2821, allocations: 8 kB / 0.7925 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2821, allocations: 0 / 0.7925 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2821, allocations: 0 / 0.7925 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2822, allocations: 189.6 kB / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2823, allocations: 0 / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.2823, allocations: 15.94 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2823, allocations: 0 / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2823, allocations: 4 kB / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2823, allocations: 0 / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2823, allocations: 0 / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.2826, allocations: 195.4 kB / 0.7929 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.2827, allocations: 92.94 kB / 0.793 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.2827, allocations: 8 kB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.2827, allocations: 4 kB / 0.793 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.2828, allocations: 7.984 kB / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2828, allocations: 7.938 kB / 0.793 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.227e-05/0.2829, allocations: 122 kB / 0.7931 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 0.7931 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002953/0.2832, allocations: 72 kB / 0.7932 GB, free: 5.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007072/0.2839, allocations: 0.8581 MB / 0.794 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.2842, allocations: 163.3 kB / 0.7942 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2842, allocations: 0 / 0.7942 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.2843, allocations: 47.92 kB / 0.7942 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.2844, allocations: 7.953 kB / 0.7942 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2857, allocations: 0.9539 MB / 0.7951 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.286, allocations: 0.7082 MB / 0.7958 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.2861, allocations: 8.672 kB / 0.7958 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.2861, allocations: 31.36 kB / 0.7959 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2861, allocations: 0 / 0.7959 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.3011, allocations: 3.611 MB / 0.7994 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.3013, allocations: 185.8 kB / 0.7996 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.297, allocations: 0 / 0.7996 GB, free: 14.73 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/linux/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) Environment - environmentSimulation: