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.001302/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001549/0.001549, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.369/1.369, allocations: 205.1 MB / 222 MB, free: 4.719 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.637/1.637, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.00133/0.00133, allocations: 67.89 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1933, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002341/0.1956, allocations: 1.486 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.1965, allocations: 0.519 MB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.1965, allocations: 0 / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.145e-05/0.1966, allocations: 7.938 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.1966, allocations: 7.875 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.1972, allocations: 199.6 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1974, allocations: 131.8 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.1974, allocations: 15.91 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.1975, allocations: 43.92 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.1976, allocations: 43.83 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1976, allocations: 4 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.1978, allocations: 167.8 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.1979, allocations: 31.89 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.963e-05/0.198, allocations: 51.73 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1983, allocations: 227.7 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1983, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.92e-07/0.1983, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1983, allocations: 3.938 kB / 0.7856 GB, free: 11.01 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.0005125/0.1988, allocations: 443.1 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1988, allocations: 12.03 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1989, allocations: 38.69 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1989, allocations: 16.84 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1991, allocations: 208.1 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1992, allocations: 8.375 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1992, allocations: 12.38 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1993, allocations: 79.89 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1994, allocations: 7.938 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1994, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1994, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.1995, allocations: 43.91 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.1997, allocations: 234.5 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1998, allocations: 81.19 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.1999, allocations: 57.81 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1999, allocations: 0 / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.2001, allocations: 120.3 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.2001, allocations: 4 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003215/0.2004, allocations: 185.5 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2005, allocations: 81.11 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2006, allocations: 156.3 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2006, allocations: 33.7 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.2007, allocations: 100.5 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.2007, allocations: 39.55 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.2008, allocations: 49.69 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.2009, allocations: 322.8 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.201, allocations: 43.98 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2012, allocations: 203.3 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.2013, allocations: 101.6 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2013, allocations: 0 / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002055/0.2015, allocations: 157.4 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2016, allocations: 8 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.2016, allocations: 7.984 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2016, allocations: 3.938 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.2017, allocations: 8 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2017, allocations: 0 / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2019, allocations: 79.75 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.202, allocations: 4 kB / 0.7885 GB, free: 7.793 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.0001043/0.2021, allocations: 141.9 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.2021, allocations: 15.78 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.2021, allocations: 16.7 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2021, allocations: 3.938 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2021, allocations: 4 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2021, allocations: 4 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.2023, allocations: 189.5 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2023, allocations: 0 / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.2023, allocations: 11.98 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2023, allocations: 0 / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2023, allocations: 4 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2024, allocations: 4 kB / 0.7888 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2024, allocations: 0 / 0.7888 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2026, allocations: 193.7 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.2026, allocations: 92.86 kB / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2026, allocations: 4 kB / 0.7891 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.2027, allocations: 3.984 kB / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.2027, allocations: 4 kB / 0.7891 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2027, allocations: 11.98 kB / 0.7891 GB, free: 7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.944e-05/0.2028, allocations: 107.3 kB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2028, allocations: 0 / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002658/0.2031, allocations: 71.98 kB / 0.7893 GB, free: 6.824 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.000587/0.2037, allocations: 0.7883 MB / 0.7901 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2039, allocations: 151.4 kB / 0.7902 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2039, allocations: 0 / 0.7902 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.204, allocations: 51.92 kB / 0.7903 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.2042, allocations: 13.89 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2057, allocations: 1.726 MB / 0.792 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2059, allocations: 0.7043 MB / 0.7927 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.2059, allocations: 8.656 kB / 0.7927 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.206, allocations: 27.44 kB / 0.7927 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.206, allocations: 4 kB / 0.7927 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.2188, allocations: 3.717 MB / 0.7963 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.219, allocations: 197.9 kB / 0.7965 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.98, allocations: 0 / 0.7965 GB, free: 15.35 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)