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.74/1.74, allocations: 288.4 MB / 303.3 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.0009141/0.000914, allocations: 168.6 kB / 372 MB, free: 10.27 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.514/1.514, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007734/0.0007735, allocations: 90.88 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004604, allocations: 10.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.243, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001465/0.2445, allocations: 1.124 MB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.2452, allocations: 467.8 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.2452, allocations: 3.938 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.349e-05/0.2453, allocations: 7.984 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.2453, allocations: 11.88 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.2459, allocations: 199.4 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2461, allocations: 119.8 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.2462, allocations: 7.984 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.2462, allocations: 51.84 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.2463, allocations: 39.89 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.2463, allocations: 8 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.2465, allocations: 155.8 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.2466, allocations: 31.91 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.2466, allocations: 45.58 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.2468, allocations: 160 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2468, allocations: 0 / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2468, allocations: 0 / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2468, allocations: 0 / 0.982 GB, free: 25.16 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.0004769/0.2473, allocations: 423 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2474, allocations: 12.02 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.2474, allocations: 46.48 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.2475, allocations: 15.81 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2476, allocations: 198.9 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2477, allocations: 11.94 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2477, allocations: 8 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2478, allocations: 83.38 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2479, allocations: 4 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2479, allocations: 0 / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2479, allocations: 7.984 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.859e-05/0.248, allocations: 31.98 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.2482, allocations: 246.3 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.2483, allocations: 73.25 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.2483, allocations: 57.81 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2484, allocations: 3.984 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.2485, allocations: 109 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.2485, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002787/0.2488, allocations: 185.9 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2489, allocations: 85.11 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.249, allocations: 160.2 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.249, allocations: 37.64 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.249, allocations: 100.5 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.2491, allocations: 39.55 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2491, allocations: 0 / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.2492, allocations: 326.8 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.2492, allocations: 40.17 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2494, allocations: 199.7 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.2494, allocations: 63.95 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2495, allocations: 0 / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001763/0.2496, allocations: 161.4 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2497, allocations: 4 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.2497, allocations: 4 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2497, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.2498, allocations: 15.92 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2498, allocations: 160 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.2501, allocations: 91.84 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2501, allocations: 11.89 kB / 0.9847 GB, free: 22.04 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 8.677e-05/0.2502, allocations: 129.8 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2502, allocations: 11.81 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.2502, allocations: 16.66 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2502, allocations: 4 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2503, allocations: 4 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2503, allocations: 0 / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.2504, allocations: 197.6 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2504, allocations: 0 / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.2504, allocations: 8 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2504, allocations: 0 / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2504, allocations: 3.984 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2505, allocations: 7.984 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2505, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.2506, allocations: 193.6 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.2507, allocations: 93.03 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2507, allocations: 4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.2507, allocations: 4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.2508, allocations: 7.984 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2508, allocations: 4 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.2509, allocations: 112.8 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2509, allocations: 0 / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002486/0.2511, allocations: 75.98 kB / 0.9856 GB, free: 21.09 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.0004382/0.2516, allocations: 0.7785 MB / 0.9863 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.2518, allocations: 159.4 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2518, allocations: 4 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.2518, allocations: 47.92 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.252, allocations: 5.25 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.253, allocations: 0.8108 MB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2531, allocations: 0.7004 MB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2532, allocations: 8.672 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.2532, allocations: 31.42 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2532, allocations: 4 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.2666, allocations: 3.643 MB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.2668, allocations: 202.5 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.061, allocations: 0 / 0.9918 GB, free: 14.71 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)