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.00797/0.00797, allocations: 97.62 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.6 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.91 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4044, allocations: 81.03 MB / 0.6648 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002161/0.4066, allocations: 1.468 MB / 0.6663 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.4076, allocations: 0.7011 MB / 0.667 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.4076, allocations: 0 / 0.667 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.519e-05/0.4077, allocations: 10.2 kB / 0.667 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.4078, allocations: 18.73 kB / 0.667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.4086, allocations: 345.5 kB / 0.6673 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.4088, allocations: 166.4 kB / 0.6675 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.4089, allocations: 9.438 kB / 0.6675 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.409, allocations: 69.7 kB / 0.6676 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.409, allocations: 55.94 kB / 0.6676 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.4091, allocations: 12.97 kB / 0.6676 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.4094, allocations: 241.3 kB / 0.6678 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.4095, allocations: 41.81 kB / 0.6679 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.4095, allocations: 62.02 kB / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.4099, allocations: 308.4 kB / 0.6682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4099, allocations: 4 kB / 0.6682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4099, allocations: 0 / 0.6682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4099, allocations: 1.062 kB / 0.6682 GB, free: 4.516 MB / 0.4981 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.0005026/0.4104, allocations: 480 kB / 0.6687 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4105, allocations: 9 kB / 0.6687 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.4105, allocations: 41.11 kB / 0.6688 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.4106, allocations: 16.44 kB / 0.6688 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4107, allocations: 208.8 kB / 0.669 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4107, allocations: 8.531 kB / 0.669 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.4108, allocations: 17 kB / 0.669 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4109, allocations: 98.58 kB / 0.6691 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.411, allocations: 3.938 kB / 0.6691 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.411, allocations: 1.062 kB / 0.6691 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.411, allocations: 1.125 kB / 0.6691 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.4111, allocations: 46.44 kB / 0.6691 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.4113, allocations: 256.2 kB / 0.6694 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.4114, allocations: 111.7 kB / 0.6695 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.4115, allocations: 71.23 kB / 0.6696 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4115, allocations: 1.25 kB / 0.6696 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.4117, allocations: 140.8 kB / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.4117, allocations: 0 / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003789/0.4121, allocations: 217 kB / 0.6699 GB, free: 3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.4122, allocations: 113.2 kB / 0.67 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.4123, allocations: 148.8 kB / 0.6701 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4123, allocations: 35.02 kB / 0.6702 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.4123, allocations: 93.86 kB / 0.6703 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.4124, allocations: 63.2 kB / 0.6703 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.4125, allocations: 60.62 kB / 0.6704 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.4125, allocations: 330.5 kB / 0.6707 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/0.4126, allocations: 53.78 kB / 0.6708 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.4128, allocations: 187.1 kB / 0.6709 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.413, allocations: 128 kB / 0.6711 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.413, allocations: 0 / 0.6711 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002655/0.4133, allocations: 196.8 kB / 0.6712 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4133, allocations: 9.75 kB / 0.6713 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.4133, allocations: 8.438 kB / 0.6713 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4133, allocations: 5.188 kB / 0.6713 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.4134, allocations: 22.05 kB / 0.6713 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4134, allocations: 2.344 kB / 0.6713 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.4136, allocations: 51.45 kB / 0.6713 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4137, allocations: 5.625 kB / 0.6713 GB, free: 1.777 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 8.895e-05/0.4138, allocations: 150.5 kB / 0.6715 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.4138, allocations: 8.734 kB / 0.6715 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.4138, allocations: 12.06 kB / 0.6715 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4138, allocations: 2.25 kB / 0.6715 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4138, allocations: 1.094 kB / 0.6715 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4138, allocations: 5.047 kB / 0.6715 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.414, allocations: 209.4 kB / 0.6717 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.414, allocations: 1.156 kB / 0.6717 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.414, allocations: 16.45 kB / 0.6717 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.414, allocations: 1.094 kB / 0.6717 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.414, allocations: 6.375 kB / 0.6717 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4141, allocations: 5.062 kB / 0.6717 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4141, allocations: 1.328 kB / 0.6717 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.4143, allocations: 217.8 kB / 0.6719 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.4143, allocations: 84.66 kB / 0.672 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4144, allocations: 6.656 kB / 0.672 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.4144, allocations: 10.84 kB / 0.672 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.4145, allocations: 8.922 kB / 0.6721 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4145, allocations: 7.781 kB / 0.6721 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.4145, allocations: 109.4 kB / 0.6722 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4145, allocations: 3.938 kB / 0.6722 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003414/0.4149, allocations: 102 kB / 0.6723 GB, free: 0.9883 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.0005539/0.4154, allocations: 0.8417 MB / 0.6731 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.4157, allocations: 219.8 kB / 0.6733 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4158, allocations: 1.125 kB / 0.6733 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.4158, allocations: 61 kB / 0.6734 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.416, allocations: 11.5 kB / 0.6734 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4181, allocations: 1.834 MB / 0.6752 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4184, allocations: 0.7093 MB / 0.6759 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.4185, allocations: 12.56 kB / 0.6759 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.4186, allocations: 34.58 kB / 0.6759 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.4186, allocations: 0 / 0.6759 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.4455, allocations: 4.609 MB / 0.6804 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.483, allocations: 12.77 kB / 0.6804 GB, free: 11.48 MB / 0.5137 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)