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.001893/0.001893, allocations: 108 kB / 15.6 MB, free: 132 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.00236/0.00236, allocations: 193 kB / 16.53 MB, free: 6.391 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.586 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.951/1.951, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001486/0.001486, allocations: 72.34 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2813, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002859/0.2842, allocations: 1.502 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2854, allocations: 0.6812 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.2855, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.2856, allocations: 11.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.2857, allocations: 23.84 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2867, allocations: 345.2 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.287, allocations: 167.7 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.287, allocations: 7.984 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.2871, allocations: 71.78 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.2872, allocations: 47.81 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.2873, allocations: 16 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.2876, allocations: 255.7 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.2877, allocations: 35.91 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.2878, allocations: 63.7 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.2882, allocations: 299.6 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2883, allocations: 0 / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2883, allocations: 0 / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2883, allocations: 0 / 0.7869 GB, free: 9.875 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.0006856/0.289, allocations: 478.9 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.289, allocations: 12.03 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.2891, allocations: 34.75 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.2891, allocations: 12.84 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.2893, allocations: 212 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2894, allocations: 8.312 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.2894, allocations: 16.36 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2896, allocations: 103.4 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2896, allocations: 11.88 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2896, allocations: 0 / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2897, allocations: 4 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.2897, allocations: 39.97 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.29, allocations: 248.4 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2902, allocations: 115.8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.2903, allocations: 74.59 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2903, allocations: 4 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.2905, allocations: 133.9 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.2906, allocations: 0 / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003988/0.291, allocations: 217.4 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.291, allocations: 122.7 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2912, allocations: 141.7 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.2912, allocations: 33.7 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.2913, allocations: 96.69 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.2913, allocations: 51.36 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.2914, allocations: 65.69 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2915, allocations: 326.8 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.2916, allocations: 48.25 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.2918, allocations: 183.3 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.292, allocations: 138.5 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.292, allocations: 4 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002905/0.2923, allocations: 197.3 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2924, allocations: 4 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.2924, allocations: 4 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2924, allocations: 0 / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.2925, allocations: 15.94 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2925, allocations: 4 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2928, allocations: 55.69 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2928, allocations: 8 kB / 0.79 GB, free: 6.371 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.0001337/0.2929, allocations: 140 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.2929, allocations: 7.906 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.293, allocations: 24.7 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.293, allocations: 0 / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.293, allocations: 8 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.293, allocations: 0 / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2932, allocations: 213.4 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2932, allocations: 0 / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.2933, allocations: 8 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2933, allocations: 4.141 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2933, allocations: 4 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2933, allocations: 7.938 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2933, allocations: 7.922 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.2936, allocations: 210.6 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.2936, allocations: 96.86 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2937, allocations: 0 / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.2937, allocations: 15.92 kB / 0.7907 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2938, allocations: 7.984 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2938, allocations: 4 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.2939, allocations: 110.2 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2939, allocations: 0 / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003654/0.2942, allocations: 104 kB / 0.7909 GB, free: 5.316 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.000701/0.2949, allocations: 0.8443 MB / 0.7917 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.2953, allocations: 225.2 kB / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2953, allocations: 0 / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.2954, allocations: 55.92 kB / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.2956, allocations: 15.92 kB / 0.792 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.2974, allocations: 1.819 MB / 0.7938 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.2976, allocations: 0.7123 MB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.673e-05/0.2977, allocations: 12.88 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.2977, allocations: 27.44 kB / 0.7945 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2977, allocations: 0 / 0.7945 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.3197, allocations: 4.565 MB / 0.799 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.316, allocations: 14.77 kB / 0.799 GB, free: 13 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)