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.001668/0.001667, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.763/1.763, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001442/0.001442, allocations: 69.84 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2555, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002821/0.2584, allocations: 1.421 MB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.2593, allocations: 0.4982 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.2593, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.2594, allocations: 15.86 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.2595, allocations: 3.938 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.2602, allocations: 230.8 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.2604, allocations: 147.8 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.2605, allocations: 4 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.2606, allocations: 51.91 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.2607, allocations: 47.83 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.2607, allocations: 12 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.261, allocations: 167.8 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.261, allocations: 35.91 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.2611, allocations: 59.72 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2614, allocations: 227.7 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2614, allocations: 4 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2615, allocations: 0 / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2615, allocations: 4 kB / 0.7863 GB, free: 10.48 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.0006416/0.2621, allocations: 443 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2622, allocations: 8.031 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.2622, allocations: 38.73 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.2623, allocations: 12.84 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2625, allocations: 204.1 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2625, allocations: 12.38 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.2626, allocations: 12.38 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2627, allocations: 87.88 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2627, allocations: 3.938 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2628, allocations: 7.984 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2628, allocations: 3.938 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.2628, allocations: 35.98 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.2631, allocations: 230.5 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2632, allocations: 85.19 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.2633, allocations: 53.8 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2633, allocations: 4 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.2636, allocations: 112.9 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2636, allocations: 4 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003601/0.2639, allocations: 189.5 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.264, allocations: 81.11 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2641, allocations: 155.8 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.2642, allocations: 33.7 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2643, allocations: 100.5 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.2643, allocations: 43.53 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.2644, allocations: 45.7 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2645, allocations: 326.8 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.2646, allocations: 43.98 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2648, allocations: 203.2 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.265, allocations: 97.58 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.265, allocations: 4 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002281/0.2652, allocations: 165.4 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2652, allocations: 4 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.2653, allocations: 4 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2653, allocations: 0 / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.2654, allocations: 8 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2654, allocations: 0 / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.2657, allocations: 83.73 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2657, allocations: 7.938 kB / 0.7891 GB, free: 7.254 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2658, allocations: 133.8 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.2658, allocations: 15.83 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.2659, allocations: 16.72 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2659, allocations: 0 / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2659, allocations: 4 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2659, allocations: 0 / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2661, allocations: 197.5 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2661, allocations: 0 / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.2661, allocations: 8 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2661, allocations: 4 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2662, allocations: 0 / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2662, allocations: 4 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2662, allocations: 7.938 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2664, allocations: 185.9 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.2665, allocations: 96.8 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2665, allocations: 8 kB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.2665, allocations: 4 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2666, allocations: 7.984 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2666, allocations: 4 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.729e-05/0.2667, allocations: 115.2 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2667, allocations: 0 / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002806/0.267, allocations: 64 kB / 0.79 GB, free: 6.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005951/0.2676, allocations: 0.7809 MB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.2678, allocations: 171.3 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2679, allocations: 4 kB / 0.7909 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.2679, allocations: 43.92 kB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.2681, allocations: 14.64 kB / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2697, allocations: 1.705 MB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.27, allocations: 0.7118 MB / 0.7933 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.2701, allocations: 8.672 kB / 0.7933 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2701, allocations: 27.42 kB / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2701, allocations: 0 / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.291, allocations: 3.918 MB / 0.7972 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.611, allocations: 8.281 kB / 0.7972 GB, free: 14.85 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/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)