Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.825/2.825, allocations: 287.3 MB / 302.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001568, allocations: 188 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 98 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004739, allocations: 10.59 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001614/0.2184, allocations: 1.12 MB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.2193, allocations: 447.8 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.2194, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.275e-05/0.2195, allocations: 3.984 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.2196, allocations: 11.94 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.2204, allocations: 190.7 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.2206, allocations: 91.83 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.2207, allocations: 4 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.2208, allocations: 51.91 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.2209, allocations: 47.81 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.2209, allocations: 8 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.2212, allocations: 131.8 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.2213, allocations: 31.91 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.2214, allocations: 45.62 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2217, allocations: 164 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2217, allocations: 0 / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2217, allocations: 0 / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2217, allocations: 4 kB / 0.9806 GB, free: 25.96 MB / 0.6198 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.0005664/0.2223, allocations: 430.9 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2224, allocations: 16.02 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.2224, allocations: 30.56 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.2225, allocations: 15.81 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2227, allocations: 204.9 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2227, allocations: 7.984 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.2228, allocations: 20 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.223, allocations: 75.39 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.223, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.223, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.223, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.2231, allocations: 35.92 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.2234, allocations: 238.3 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2235, allocations: 85.23 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2236, allocations: 7.938 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.2238, allocations: 97.2 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.2238, allocations: 0 / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004757/0.2243, allocations: 347.7 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2244, allocations: 89.09 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2245, allocations: 159.7 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.2246, allocations: 37.7 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2246, allocations: 96.52 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.2247, allocations: 35.53 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.2247, allocations: 8 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.2248, allocations: 322.8 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.2249, allocations: 48.16 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.2252, allocations: 198 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2253, allocations: 59.97 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2253, allocations: 0 / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003139/0.2257, allocations: 161.3 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2257, allocations: 4 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.2257, allocations: 4 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2258, allocations: 4 kB / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2259, allocations: 11.94 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2259, allocations: 0 / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.2264, allocations: 95.78 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2264, allocations: 4 kB / 0.9834 GB, free: 22.72 MB / 0.6198 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.0001307/0.2266, allocations: 141.9 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.2266, allocations: 15.8 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.2267, allocations: 16.72 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2267, allocations: 0 / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2267, allocations: 0 / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.2267, allocations: 0 / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2268, allocations: 193.6 kB / 0.9837 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2269, allocations: 0 / 0.9837 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.2269, allocations: 4 kB / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2269, allocations: 4 kB / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.227, allocations: 8 kB / 0.9837 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.227, allocations: 0 / 0.9837 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.227, allocations: 0 / 0.9837 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.2273, allocations: 208.3 kB / 0.9839 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.2273, allocations: 92.94 kB / 0.984 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2274, allocations: 0 / 0.984 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.2274, allocations: 4 kB / 0.984 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2275, allocations: 11.98 kB / 0.984 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2275, allocations: 4 kB / 0.984 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.2276, allocations: 115.2 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2276, allocations: 0 / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004204/0.228, allocations: 76 kB / 0.9842 GB, free: 21.75 MB / 0.6198 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.0006926/0.2287, allocations: 0.8521 MB / 0.9851 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.2291, allocations: 164.1 kB / 0.9852 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2291, allocations: 0 / 0.9852 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.2292, allocations: 43.98 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2294, allocations: 4.469 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2308, allocations: 0.957 MB / 0.9862 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2309, allocations: 0.716 MB / 0.9869 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.546e-05/0.231, allocations: 4.672 kB / 0.9869 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.2311, allocations: 27.42 kB / 0.9869 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.2311, allocations: 0 / 0.9869 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.2541, allocations: 3.627 MB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.2544, allocations: 192.1 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/2.752, allocations: 4 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)