Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001154/0.001154, allocations: 188.3 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001052/0.001052, allocations: 88.75 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004126, allocations: 14.05 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2076, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00136/0.209, allocations: 1.113 MB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007173/0.2097, allocations: 447.8 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.2098, allocations: 0 / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.841e-05/0.2099, allocations: 4 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.2099, allocations: 15.91 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.2106, allocations: 184 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2108, allocations: 87.84 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.2108, allocations: 7.984 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.2109, allocations: 55.83 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.211, allocations: 35.91 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.211, allocations: 12 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.2113, allocations: 135.8 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.2113, allocations: 35.89 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.2114, allocations: 41.64 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2116, allocations: 164 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2116, allocations: 0 / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2116, allocations: 0 / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2116, allocations: 3.938 kB / 0.9817 GB, free: 25.3 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.0004361/0.2121, allocations: 426.9 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2121, allocations: 16.02 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.2121, allocations: 30.56 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.2122, allocations: 19.8 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2123, allocations: 206.9 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2124, allocations: 8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.2124, allocations: 12 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.2125, allocations: 79.39 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2125, allocations: 0 / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2126, allocations: 4 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2126, allocations: 0 / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.2126, allocations: 43.91 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.2128, allocations: 242.3 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.2129, allocations: 73.25 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2129, allocations: 8 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.2131, allocations: 109.1 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.2131, allocations: 0 / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003102/0.2134, allocations: 348.1 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2135, allocations: 81.11 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.2136, allocations: 156.1 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2136, allocations: 37.7 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.2136, allocations: 100.5 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.2137, allocations: 31.55 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.2137, allocations: 8 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.2138, allocations: 326.8 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.2138, allocations: 40.17 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.214, allocations: 204.2 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.214, allocations: 63.95 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2141, allocations: 0 / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001786/0.2142, allocations: 165.3 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2143, allocations: 5.875 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.2143, allocations: 4 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2143, allocations: 4 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.2144, allocations: 11.98 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2144, allocations: 4 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.2147, allocations: 83.84 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2147, allocations: 8 kB / 0.9846 GB, free: 22.06 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 9.796e-05/0.2148, allocations: 145.8 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.2148, allocations: 11.81 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.2148, allocations: 12.72 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2149, allocations: 0 / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2149, allocations: 3.938 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2149, allocations: 7.984 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.215, allocations: 193.6 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.215, allocations: 0 / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.215, allocations: 4 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2151, allocations: 7.984 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2151, allocations: 4 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2151, allocations: 0 / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2151, allocations: 3.938 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2153, allocations: 203.4 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.2153, allocations: 88.95 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2153, allocations: 0 / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.2154, allocations: 11.98 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2154, allocations: 4 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.2154, allocations: 0 / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.2155, allocations: 117.8 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2155, allocations: 0 / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002739/0.2158, allocations: 83.98 kB / 0.9854 GB, free: 21.07 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.0004936/0.2163, allocations: 0.8515 MB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2165, allocations: 155.4 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2165, allocations: 11.88 kB / 0.9864 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.433e-05/0.2165, allocations: 43.98 kB / 0.9865 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.2167, allocations: 7.953 kB / 0.9865 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.2176, allocations: 0.9462 MB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2177, allocations: 0.7043 MB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.2177, allocations: 12.66 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.2178, allocations: 27.44 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2178, allocations: 0 / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.2309, allocations: 3.622 MB / 0.9917 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.231, allocations: 200.6 kB / 0.9918 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.889, allocations: 0 / 0.9918 GB, free: 14.49 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)