Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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.001123/0.001123, allocations: 104 kB / 15.6 MB, free: 148 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.001164/0.001164, allocations: 192.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 60.53 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1976, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003137/0.2008, allocations: 1.478 MB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2021, allocations: 0.6946 MB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.2021, allocations: 0 / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2023, allocations: 7.922 kB / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.2023, allocations: 19.8 kB / 0.5866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.2034, allocations: 343 kB / 0.5869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.2037, allocations: 167.7 kB / 0.5871 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.2037, allocations: 4 kB / 0.5871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.2038, allocations: 75.81 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.2039, allocations: 47.77 kB / 0.5872 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.204, allocations: 12 kB / 0.5872 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.2044, allocations: 255.7 kB / 0.5875 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2045, allocations: 39.83 kB / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2046, allocations: 67.72 kB / 0.5876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.2051, allocations: 295.6 kB / 0.5879 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2051, allocations: 0 / 0.5879 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2051, allocations: 4 kB / 0.5879 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2051, allocations: 0 / 0.5879 GB, free: 0.9727 MB / 494.1 MB 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.0008578/0.206, allocations: 478.9 kB / 0.5883 GB, free: 464 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2061, allocations: 8.031 kB / 0.5883 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.2061, allocations: 38.73 kB / 0.5884 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.2062, allocations: 12.84 kB / 0.5884 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.2065, allocations: 224.1 kB / 0.5886 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2066, allocations: 8.312 kB / 0.5886 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.2066, allocations: 12.38 kB / 0.5886 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.2069, allocations: 92.8 kB / 0.5887 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2069, allocations: 3.938 kB / 0.5887 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.2069, allocations: 4.078 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.207, allocations: 0 / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2071, allocations: 47.91 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.2075, allocations: 255.3 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.2077, allocations: 103.8 kB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2078, allocations: 74.7 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2078, allocations: 0 / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.2082, allocations: 139.7 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2082, allocations: 0 / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004993/0.2087, allocations: 217.9 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.2089, allocations: 122.7 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2091, allocations: 140.2 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.2091, allocations: 41.69 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.2092, allocations: 96.69 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.2093, allocations: 51.36 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.2094, allocations: 61.69 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2096, allocations: 330.8 kB / 0.5903 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.2097, allocations: 44.27 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.21, allocations: 183.6 kB / 0.5905 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.2102, allocations: 130.4 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2102, allocations: 4 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003116/0.2105, allocations: 213 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2106, allocations: 8 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.2106, allocations: 4 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.2106, allocations: 0 / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2107, allocations: 23.86 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2108, allocations: 0 / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.211, allocations: 47.7 kB / 0.5909 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.211, allocations: 12 kB / 0.5909 GB, free: 13.46 MB / 0.4981 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.0001501/0.2112, allocations: 144.1 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.2112, allocations: 15.84 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.2112, allocations: 16.72 kB / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2112, allocations: 0 / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2113, allocations: 0 / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2113, allocations: 4 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.2115, allocations: 217.3 kB / 0.5913 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2115, allocations: 0 / 0.5913 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.2115, allocations: 12 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2116, allocations: 3.984 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2116, allocations: 8 kB / 0.5914 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2116, allocations: 0 / 0.5914 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2116, allocations: 4 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.2119, allocations: 202.6 kB / 0.5915 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.212, allocations: 100.8 kB / 0.5916 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.212, allocations: 4 kB / 0.5916 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.212, allocations: 11.94 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.2121, allocations: 7.984 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.2121, allocations: 4 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.569e-05/0.2122, allocations: 107.2 kB / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2122, allocations: 0 / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003701/0.2126, allocations: 95.98 kB / 0.5919 GB, free: 12.42 MB / 0.4981 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.0008663/0.2135, allocations: 0.8457 MB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.2139, allocations: 217 kB / 0.5929 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2139, allocations: 3.938 kB / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.214, allocations: 51.98 kB / 0.5929 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2142, allocations: 25.66 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.2164, allocations: 1.804 MB / 0.5947 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2167, allocations: 0.7045 MB / 0.5954 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.956e-05/0.2168, allocations: 13.16 kB / 0.5954 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.2169, allocations: 35.42 kB / 0.5955 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2169, allocations: 7.938 kB / 0.5955 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.2409, allocations: 4.567 MB / 0.5999 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.492, allocations: 10.16 kB / 0.5999 GB, free: 4.133 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)