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.0007948/0.0007947, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004845/0.004845, allocations: 170 kB / 16.26 MB, free: 6.613 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.352/1.352, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.601/1.601, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006011/0.0006011, allocations: 20.94 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2005, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001505/0.2021, allocations: 1.151 MB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.2029, allocations: 0.5112 MB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.2029, allocations: 0 / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.936e-05/0.203, allocations: 4 kB / 0.7896 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.2031, allocations: 15.84 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.2037, allocations: 198.8 kB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.2039, allocations: 143.8 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.2039, allocations: 0 / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.204, allocations: 51.91 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.2041, allocations: 35.83 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.2041, allocations: 8 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.2043, allocations: 171.8 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.2044, allocations: 31.91 kB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.2045, allocations: 77.41 kB / 0.7903 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2048, allocations: 227.7 kB / 0.7905 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2048, allocations: 3.938 kB / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2048, allocations: 0 / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2048, allocations: 0 / 0.7905 GB, free: 8.859 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.0005356/0.2054, allocations: 415.2 kB / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2054, allocations: 12.03 kB / 0.7909 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.2054, allocations: 34.75 kB / 0.791 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2055, allocations: 16.75 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2057, allocations: 208.2 kB / 0.7912 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2057, allocations: 4.375 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2057, allocations: 16.38 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2059, allocations: 79.89 kB / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2059, allocations: 11.88 kB / 0.7913 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2059, allocations: 0 / 0.7913 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2059, allocations: 0 / 0.7913 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.206, allocations: 39.97 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.2062, allocations: 238.4 kB / 0.7916 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2063, allocations: 85.19 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.2064, allocations: 53.81 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2064, allocations: 3.984 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2066, allocations: 113 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.2066, allocations: 4 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003064/0.2069, allocations: 181.5 kB / 0.792 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.207, allocations: 89.09 kB / 0.7921 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2071, allocations: 152.1 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2071, allocations: 37.7 kB / 0.7922 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.2072, allocations: 96.52 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.2072, allocations: 43.53 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.2073, allocations: 25.7 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.2074, allocations: 322.8 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.2075, allocations: 43.98 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2077, allocations: 199.3 kB / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2078, allocations: 93.64 kB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2078, allocations: 0 / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002139/0.208, allocations: 169.3 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.208, allocations: 4 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.2081, allocations: 8 kB / 0.7932 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2081, allocations: 0 / 0.7932 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.2082, allocations: 8 kB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2082, allocations: 0 / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.2085, allocations: 95.73 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2085, allocations: 4 kB / 0.7933 GB, free: 5.68 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.0001032/0.2086, allocations: 133.7 kB / 0.7934 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.2086, allocations: 31.67 kB / 0.7935 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2087, allocations: 12.72 kB / 0.7935 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2087, allocations: 4 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2087, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2087, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.2088, allocations: 193.5 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2088, allocations: 4 kB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.2089, allocations: 4 kB / 0.7937 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2089, allocations: 0 / 0.7937 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2089, allocations: 4 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2089, allocations: 0 / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2089, allocations: 4 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.2091, allocations: 193.7 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.2092, allocations: 92.86 kB / 0.794 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2092, allocations: 4 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.2093, allocations: 4 kB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.2093, allocations: 7.984 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2093, allocations: 4 kB / 0.794 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.257e-05/0.2094, allocations: 117.1 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2094, allocations: 0 / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000287/0.2097, allocations: 68 kB / 0.7942 GB, free: 4.715 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.0005658/0.2103, allocations: 0.7782 MB / 0.7949 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.2105, allocations: 163.3 kB / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2105, allocations: 0 / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.2106, allocations: 47.97 kB / 0.7951 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.2108, allocations: 10.64 kB / 0.7951 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2123, allocations: 1.73 MB / 0.7968 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2126, allocations: 0.7004 MB / 0.7975 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.2126, allocations: 16.92 kB / 0.7975 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2127, allocations: 31.44 kB / 0.7975 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2127, allocations: 0 / 0.7975 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.2256, allocations: 3.633 MB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.2258, allocations: 203.8 kB / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.918, allocations: 4 kB / 0.8013 GB, free: 13.34 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)