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.553/1.553, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.00116/0.00116, allocations: 173.6 kB / 372.3 MB, free: 10.1 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.505/1.505, allocations: 205.4 MB / 0.631 GB, free: 9.746 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.001027/0.001027, allocations: 97.33 kB / 0.7444 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 15.05 kB / 0.8676 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001561/0.2352, allocations: 1.128 MB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007594/0.236, allocations: 471.6 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.2361, allocations: 0 / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.141e-05/0.2361, allocations: 11.92 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2362, allocations: 11.94 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.237, allocations: 188.9 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.2372, allocations: 123.8 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.2373, allocations: 11.98 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.2374, allocations: 51.84 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.2374, allocations: 39.89 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.2375, allocations: 8 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.2377, allocations: 147.8 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.2378, allocations: 31.91 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.2379, allocations: 77.47 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2381, allocations: 160 kB / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2381, allocations: 4 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2381, allocations: 0 / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2381, allocations: 0 / 0.9826 GB, free: 24.77 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.0004821/0.2386, allocations: 419.2 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2386, allocations: 11.97 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.2387, allocations: 38.69 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.2387, allocations: 16.75 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.2389, allocations: 205.6 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2389, allocations: 12.38 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.239, allocations: 8.375 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2391, allocations: 83.89 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2391, allocations: 7.938 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2392, allocations: 4 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2392, allocations: 3.938 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.2392, allocations: 39.97 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.2394, allocations: 234.4 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.2395, allocations: 81.19 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.2396, allocations: 61.8 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2396, allocations: 0 / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2398, allocations: 113 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.2399, allocations: 4 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003135/0.2402, allocations: 181.5 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.2402, allocations: 85.11 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2403, allocations: 159.8 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.2404, allocations: 33.7 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.2404, allocations: 104.5 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.2405, allocations: 35.55 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.2405, allocations: 0 / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.2405, allocations: 326.8 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.2406, allocations: 47.97 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2408, allocations: 191.4 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.2409, allocations: 101.6 kB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2409, allocations: 0 / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001788/0.2411, allocations: 157.5 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2411, allocations: 4 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.2411, allocations: 7.938 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2412, allocations: 0 / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.2412, allocations: 11.98 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2413, allocations: 0 / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.2415, allocations: 91.75 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2416, allocations: 8 kB / 0.9853 GB, free: 21.62 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.0001034/0.2417, allocations: 139.5 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.2417, allocations: 19.75 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.2417, allocations: 8.719 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2417, allocations: 4 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2417, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2417, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2419, allocations: 197.5 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2419, allocations: 4 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.2419, allocations: 11.94 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2419, allocations: 0 / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2419, allocations: 7.984 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2419, allocations: 3.938 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2419, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2421, allocations: 185.7 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2422, allocations: 88.86 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2422, allocations: 8 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.2422, allocations: 12 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.2423, allocations: 3.984 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2423, allocations: 4 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.2424, allocations: 112.6 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2424, allocations: 0 / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000278/0.2426, allocations: 71.98 kB / 0.9862 GB, free: 20.66 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.0004532/0.2431, allocations: 0.7887 MB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.2433, allocations: 160.2 kB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2434, allocations: 0 / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.2434, allocations: 51.91 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.2436, allocations: 4 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.2445, allocations: 0.8096 MB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2447, allocations: 0.7043 MB / 0.9886 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.2447, allocations: 4.672 kB / 0.9886 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.2448, allocations: 31.42 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2448, allocations: 4 kB / 0.9887 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2672/0.512, allocations: 3.647 MB / 0.9922 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5123, allocations: 216.6 kB / 0.9924 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.779, allocations: 0 / 0.9924 GB, free: 14.26 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)