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.001102/0.001101, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001289/0.001289, allocations: 172.7 kB / 15.95 MB, free: 208 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.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.852/1.852, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005608/0.0005609, allocations: 17.25 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3088, allocations: 116.3 MB / 0.7874 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001705/0.3106, allocations: 1.136 MB / 0.7885 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.3115, allocations: 479.8 kB / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.3116, allocations: 0 / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.273e-05/0.3116, allocations: 3.938 kB / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.3117, allocations: 7.984 kB / 0.789 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.3123, allocations: 190.8 kB / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3125, allocations: 119.7 kB / 0.7893 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3126, allocations: 11.98 kB / 0.7893 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.3127, allocations: 51.91 kB / 0.7893 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.3128, allocations: 43.83 kB / 0.7894 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3128, allocations: 4 kB / 0.7894 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.313, allocations: 151.8 kB / 0.7895 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.3131, allocations: 31.91 kB / 0.7895 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.3132, allocations: 45.7 kB / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3134, allocations: 152 kB / 0.7897 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3134, allocations: 0 / 0.7897 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3134, allocations: 4 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3134, allocations: 0 / 0.7897 GB, free: 9.488 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.0006168/0.3141, allocations: 430.9 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3141, allocations: 8.031 kB / 0.7902 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.3142, allocations: 34.5 kB / 0.7902 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3142, allocations: 15.81 kB / 0.7902 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.3145, allocations: 206.9 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3145, allocations: 12 kB / 0.7904 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3145, allocations: 15.94 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3147, allocations: 79.39 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3147, allocations: 0 / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3147, allocations: 3.938 kB / 0.7905 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3148, allocations: 0 / 0.7905 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.3148, allocations: 43.95 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.3151, allocations: 242.4 kB / 0.7908 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3153, allocations: 85.17 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.3154, allocations: 53.81 kB / 0.7909 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3154, allocations: 0 / 0.7909 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.3156, allocations: 113.1 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.3156, allocations: 0 / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003872/0.316, allocations: 185.4 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.3161, allocations: 93.03 kB / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3163, allocations: 156.4 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3163, allocations: 33.7 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3164, allocations: 100.5 kB / 0.7916 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.3165, allocations: 31.55 kB / 0.7916 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3165, allocations: 8 kB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3166, allocations: 322.8 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.3167, allocations: 44.17 kB / 0.792 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3169, allocations: 194.2 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.317, allocations: 63.86 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.317, allocations: 0 / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002613/0.3173, allocations: 165.3 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3173, allocations: 12 kB / 0.7924 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.3174, allocations: 0 / 0.7924 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3174, allocations: 4 kB / 0.7924 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.3175, allocations: 4 kB / 0.7924 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3175, allocations: 4 kB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.3178, allocations: 87.83 kB / 0.7925 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3178, allocations: 15.89 kB / 0.7925 GB, free: 6.359 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.000141/0.318, allocations: 141.8 kB / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.318, allocations: 11.81 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.318, allocations: 16.7 kB / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.318, allocations: 0 / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3181, allocations: 0 / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3181, allocations: 0 / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3182, allocations: 193.6 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3183, allocations: 0 / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.3183, allocations: 4 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3183, allocations: 4 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3183, allocations: 7.938 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3183, allocations: 7.938 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3183, allocations: 3.938 kB / 0.7929 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3186, allocations: 181.7 kB / 0.793 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.3187, allocations: 92.94 kB / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.3187, allocations: 96 / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.3187, allocations: 4 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3188, allocations: 15.97 kB / 0.7931 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3188, allocations: 4 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.906e-05/0.3189, allocations: 111.2 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3189, allocations: 0 / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003106/0.3192, allocations: 72 kB / 0.7933 GB, free: 5.402 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.0007568/0.32, allocations: 0.781 MB / 0.7941 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3203, allocations: 167.2 kB / 0.7942 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3203, allocations: 0 / 0.7942 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.3204, allocations: 43.92 kB / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.3206, allocations: 10.39 kB / 0.7943 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3217, allocations: 0.8095 MB / 0.7951 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.322, allocations: 0.7083 MB / 0.7958 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.3221, allocations: 4.672 kB / 0.7958 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.3221, allocations: 31.42 kB / 0.7958 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3221, allocations: 0 / 0.7958 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.337, allocations: 3.625 MB / 0.7993 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.3373, allocations: 190.6 kB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.184, allocations: 4 kB / 0.7995 GB, free: 15.01 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: