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.001316/0.001316, allocations: 109.4 kB / 15.69 MB, free: 128 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.001646/0.001646, allocations: 187.7 kB / 16.62 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.689/1.689, 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.001979/0.001979, allocations: 73.75 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2446, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00258/0.2472, allocations: 1.495 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2482, allocations: 0.6852 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.2483, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.189e-05/0.2484, allocations: 11.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.916e-05/0.2484, allocations: 19.78 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.2493, allocations: 343.4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2495, allocations: 167.7 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.2496, allocations: 7.984 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.2496, allocations: 75.81 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.2497, allocations: 47.77 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.2498, allocations: 15.94 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.2501, allocations: 251.8 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.2502, allocations: 39.89 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.2502, allocations: 59.72 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.2506, allocations: 307.6 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2506, allocations: 0 / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2506, allocations: 0 / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2506, allocations: 0 / 0.787 GB, free: 9.723 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.000562/0.2512, allocations: 474.9 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2512, allocations: 12.03 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.2513, allocations: 38.73 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2513, allocations: 12.84 kB / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.2515, allocations: 216 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2515, allocations: 8.375 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.2515, allocations: 12.38 kB / 0.7878 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2517, allocations: 104.5 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2517, allocations: 3.938 kB / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2518, allocations: 0 / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2518, allocations: 4 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.2519, allocations: 43.97 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.2521, allocations: 255.2 kB / 0.7882 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2523, allocations: 107.9 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.2524, allocations: 70.66 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.2524, allocations: 12 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.2526, allocations: 140.2 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.2526, allocations: 0 / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003664/0.253, allocations: 213.4 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.253, allocations: 110.8 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.2531, allocations: 149.7 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2532, allocations: 33.7 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.2532, allocations: 92.7 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.2533, allocations: 59.33 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.2534, allocations: 57.7 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.2535, allocations: 330.8 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.2536, allocations: 48.27 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2538, allocations: 187.3 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.2539, allocations: 122.5 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2539, allocations: 4 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002648/0.2542, allocations: 205.3 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2542, allocations: 15.88 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.2543, allocations: 4 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2543, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.2544, allocations: 19.98 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2544, allocations: 0 / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.2546, allocations: 51.7 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2546, allocations: 4 kB / 0.7901 GB, free: 6.223 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.0001135/0.2547, allocations: 152.6 kB / 0.7903 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.2548, allocations: 11.91 kB / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.2548, allocations: 12.72 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2548, allocations: 0 / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2548, allocations: 4 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2548, allocations: 3.984 kB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.255, allocations: 209.4 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.255, allocations: 0 / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.255, allocations: 11.98 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2551, allocations: 11.94 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2551, allocations: 4 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2551, allocations: 7.938 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2551, allocations: 0 / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.2553, allocations: 202.6 kB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.2554, allocations: 96.86 kB / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2554, allocations: 0 / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.2555, allocations: 15.94 kB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.2555, allocations: 7.984 kB / 0.7908 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2555, allocations: 8 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.2556, allocations: 110.2 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2556, allocations: 0 / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000326/0.2559, allocations: 104 kB / 0.791 GB, free: 5.168 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.0006943/0.2566, allocations: 0.8443 MB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.257, allocations: 220.9 kB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.257, allocations: 0 / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.2571, allocations: 55.92 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.2572, allocations: 11.94 kB / 0.7921 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.2589, allocations: 1.842 MB / 0.7939 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2592, allocations: 0.7123 MB / 0.7946 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.2592, allocations: 8.875 kB / 0.7947 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.2593, allocations: 39.36 kB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2593, allocations: 0 / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.2777, allocations: 4.582 MB / 0.7992 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.012, allocations: 11.92 kB / 0.7992 GB, free: 12.83 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)