Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001479/0.00148, allocations: 105.4 kB / 15.7 MB, free: 24 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.001736/0.001736, allocations: 199.9 kB / 16.64 MB, free: 6.449 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.702/1.702, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001414/0.001414, allocations: 76.69 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2504, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002517/0.2529, allocations: 1.498 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2541, allocations: 0.6851 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.2541, allocations: 3.938 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.2542, allocations: 15.86 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.2544, allocations: 11.88 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.2552, allocations: 345.6 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.2555, allocations: 171.7 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.2555, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.2556, allocations: 71.83 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.2557, allocations: 55.75 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.2557, allocations: 12 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.2561, allocations: 251.8 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.2562, allocations: 35.91 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.2562, allocations: 67.69 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.2566, allocations: 303.6 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2566, allocations: 0 / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2566, allocations: 0 / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2566, allocations: 0 / 0.787 GB, free: 9.719 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.0006109/0.2573, allocations: 478.9 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2573, allocations: 12.03 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.2574, allocations: 34.75 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.2574, allocations: 16.83 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2576, allocations: 213 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2576, allocations: 4.375 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.2577, allocations: 12.38 kB / 0.7878 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2578, allocations: 103.5 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2579, allocations: 3.938 kB / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2579, allocations: 0 / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2579, allocations: 4 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.258, allocations: 47.91 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.2582, allocations: 248.4 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2584, allocations: 107.8 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.2585, allocations: 70.7 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.2585, allocations: 4 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.2587, allocations: 149.7 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2587, allocations: 0 / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003787/0.2591, allocations: 218.1 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.2592, allocations: 118.7 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2593, allocations: 141.7 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.2593, allocations: 33.7 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2594, allocations: 96.69 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.2595, allocations: 63.34 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.2596, allocations: 57.69 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2597, allocations: 326.8 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.2598, allocations: 56.25 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.26, allocations: 175.6 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2601, allocations: 138.5 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2602, allocations: 0 / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003025/0.2605, allocations: 197.4 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2605, allocations: 4 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.2605, allocations: 4.078 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2605, allocations: 0 / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.2606, allocations: 20.06 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2606, allocations: 7.984 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2609, allocations: 59.64 kB / 0.7901 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.2609, allocations: 4 kB / 0.7901 GB, free: 6.211 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.0001241/0.261, allocations: 140 kB / 0.7903 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.261, allocations: 15.89 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2611, allocations: 16.66 kB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2611, allocations: 4 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2611, allocations: 4 kB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2611, allocations: 0 / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.2613, allocations: 213.4 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2613, allocations: 0 / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.2613, allocations: 8 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2613, allocations: 4 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2614, allocations: 7.984 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2614, allocations: 4 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2614, allocations: 0 / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2617, allocations: 210.6 kB / 0.7907 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.2617, allocations: 96.8 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2618, allocations: 3.984 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.2618, allocations: 11.94 kB / 0.7908 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.2619, allocations: 7.984 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-06/0.2619, allocations: 4 kB / 0.7909 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.631e-05/0.262, allocations: 113.9 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.262, allocations: 0 / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003374/0.2623, allocations: 104 kB / 0.7911 GB, free: 5.16 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.000725/0.2631, allocations: 0.8434 MB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.2634, allocations: 216.9 kB / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2634, allocations: 0 / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/0.2635, allocations: 63.89 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.2637, allocations: 11.94 kB / 0.7922 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2655, allocations: 1.826 MB / 0.7939 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.2657, allocations: 0.7123 MB / 0.7946 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.2658, allocations: 12.88 kB / 0.7947 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.2659, allocations: 31.42 kB / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2659, allocations: 0 / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.286, allocations: 4.582 MB / 0.7992 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.094, allocations: 18.72 kB / 0.7992 GB, free: 12.82 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)