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.001512/0.001519, 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.001776/0.001776, allocations: 194.4 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.782/1.782, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.844/1.844, 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.001494/0.001494, allocations: 65.73 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3449, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003873/0.3489, allocations: 1.495 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3504, allocations: 0.6812 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.3505, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3506, allocations: 7.922 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.3508, allocations: 23.78 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.352, allocations: 357.5 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.3524, allocations: 163.7 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.3524, allocations: 7.984 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3526, allocations: 67.84 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3527, allocations: 55.75 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.3527, allocations: 15.94 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.3532, allocations: 251.7 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.3533, allocations: 35.91 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3534, allocations: 63.77 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.3539, allocations: 295.6 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3539, allocations: 3.938 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3539, allocations: 0 / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3539, allocations: 0 / 0.7869 GB, free: 9.91 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.0007331/0.3547, allocations: 478.9 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3547, allocations: 8.031 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.3548, allocations: 38.75 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3548, allocations: 16.84 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3551, allocations: 216 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3551, allocations: 8.375 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3551, allocations: 8.375 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3553, allocations: 97.84 kB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3554, allocations: 7.875 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3554, allocations: 4 kB / 0.7877 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3554, allocations: 4 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3555, allocations: 47.97 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.3558, allocations: 243.3 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.356, allocations: 107.9 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3561, allocations: 82.64 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3561, allocations: 3.938 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.3564, allocations: 132.3 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.3564, allocations: 0 / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0004327/0.3569, allocations: 221.3 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.357, allocations: 118.8 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3571, allocations: 144.7 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.3572, allocations: 37.7 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.3572, allocations: 100.7 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.3573, allocations: 47.36 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.3574, allocations: 57.69 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3575, allocations: 334.8 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.3576, allocations: 52.25 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.3578, allocations: 175.3 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.358, allocations: 138.5 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.358, allocations: 0 / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003022/0.3584, allocations: 197.3 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3584, allocations: 7.984 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.3584, allocations: 8 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3584, allocations: 4 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.3585, allocations: 11.94 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3585, allocations: 4.938 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3588, allocations: 55.69 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3588, allocations: 11.94 kB / 0.79 GB, free: 6.402 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.0001345/0.359, allocations: 140.6 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.359, allocations: 11.91 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.359, allocations: 12.7 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.359, allocations: 4 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3591, allocations: 0 / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3591, allocations: 0 / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3592, allocations: 217.4 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3592, allocations: 12 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.3593, allocations: 8 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3593, allocations: 0 / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3593, allocations: 4 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3593, allocations: 0 / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3593, allocations: 3.938 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3596, allocations: 214.7 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.3597, allocations: 96.84 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3597, allocations: 8 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.3598, allocations: 7.922 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3598, allocations: 11.98 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3599, allocations: 8 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.3599, allocations: 99.27 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3599, allocations: 4 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003654/0.3603, 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.0007819/0.3611, allocations: 0.8403 MB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.3614, allocations: 232.3 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3615, allocations: 4 kB / 0.7919 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.3615, allocations: 51.92 kB / 0.792 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3617, allocations: 15.92 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3636, allocations: 1.818 MB / 0.7938 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3639, allocations: 0.7084 MB / 0.7945 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.573e-05/0.3639, allocations: 12.89 kB / 0.7945 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.364, allocations: 35.42 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.364, allocations: 0 / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3876, allocations: 4.564 MB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.318, allocations: 7.859 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)