Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001064/0.001064, 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.001093/0.001093, allocations: 196.6 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.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.662/1.662, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.002553/0.002553, allocations: 66.8 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1993, allocations: 114.5 MB / 0.7835 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002414/0.2018, allocations: 1.495 MB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2028, allocations: 0.6812 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.2029, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.86e-05/0.2029, allocations: 11.86 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.203, allocations: 11.88 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.2038, allocations: 361.1 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.204, allocations: 171.6 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.2041, allocations: 4 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.2042, allocations: 71.81 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.2042, allocations: 47.83 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.2043, allocations: 15.94 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.2046, allocations: 247.8 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.2047, allocations: 39.89 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.2048, allocations: 59.78 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.2051, allocations: 307.5 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2051, allocations: 0 / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2051, allocations: 0 / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2052, allocations: 0 / 0.7869 GB, free: 9.918 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000563/0.2057, allocations: 471 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2058, allocations: 8.031 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.2058, allocations: 50.67 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.2059, allocations: 12.84 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.2061, allocations: 217 kB / 0.7876 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2061, allocations: 8.375 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2061, allocations: 8.375 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2063, allocations: 100.5 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2063, allocations: 3.938 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2063, allocations: 7.984 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2063, allocations: 4 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.707e-05/0.2064, allocations: 51.91 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.2067, allocations: 247.3 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.2068, allocations: 107.8 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.2069, allocations: 74.7 kB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.207, allocations: 0 / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2072, allocations: 136.2 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.2072, allocations: 0 / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.000376/0.2076, allocations: 218.1 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.2076, allocations: 118.8 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2078, allocations: 137.7 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2078, allocations: 45.69 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.2079, allocations: 96.64 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.2079, allocations: 51.34 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.208, allocations: 61.69 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2081, allocations: 334.8 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.2082, allocations: 48.27 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.2084, allocations: 175.6 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.2086, allocations: 138.5 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2086, allocations: 0 / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000282/0.2089, allocations: 205.3 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2089, allocations: 4 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.2089, allocations: 4 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2089, allocations: 4 kB / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.209, allocations: 15.92 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.209, allocations: 4 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2093, allocations: 51.7 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2093, allocations: 8 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001086/0.2094, allocations: 140.2 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.2094, allocations: 15.89 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.2095, allocations: 12.72 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2095, allocations: 4 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2095, allocations: 3.938 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2095, allocations: 0 / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2097, allocations: 213.4 kB / 0.7903 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.2097, allocations: 12 kB / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.2097, allocations: 11.94 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2097, allocations: 3.984 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2097, allocations: 4 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2098, allocations: 240 / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2098, allocations: 0 / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.21, allocations: 218.5 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.2101, allocations: 96.84 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.2101, allocations: 8 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.2102, allocations: 3.938 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2102, allocations: 11.98 kB / 0.7907 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2102, allocations: 8 kB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.2103, allocations: 105.9 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2103, allocations: 4 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003245/0.2106, allocations: 99.98 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006582/0.2113, allocations: 0.8434 MB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.2116, allocations: 221 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2116, allocations: 4 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.2117, allocations: 55.92 kB / 0.792 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.2119, allocations: 11.94 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2136, allocations: 1.815 MB / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2139, allocations: 0.7045 MB / 0.7945 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.2139, allocations: 16.88 kB / 0.7945 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.214, allocations: 35.42 kB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.214, allocations: 0 / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.24, allocations: 4.575 MB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.643, allocations: 15.23 kB / 0.799 GB, free: 13.04 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)