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.005953/0.005953, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001286/0.001286, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9823/0.9823, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.88 kB / 0.5851 GB, free: 3.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4243, allocations: 80.9 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002006/0.4263, allocations: 1.486 MB / 0.6656 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.4272, allocations: 0.6864 MB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.4273, allocations: 3.938 kB / 0.6662 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.133e-05/0.4274, allocations: 5.469 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.4274, allocations: 18.48 kB / 0.6663 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.4283, allocations: 353.8 kB / 0.6666 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.4285, allocations: 174.3 kB / 0.6668 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.4285, allocations: 13.34 kB / 0.6668 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.4286, allocations: 65.44 kB / 0.6668 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.4287, allocations: 49.66 kB / 0.6669 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.4287, allocations: 15.53 kB / 0.6669 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.429, allocations: 254.5 kB / 0.6672 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.4291, allocations: 33.66 kB / 0.6672 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.4291, allocations: 65.73 kB / 0.6672 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.4295, allocations: 304.1 kB / 0.6675 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4295, allocations: 0 / 0.6675 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4295, allocations: 0 / 0.6675 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.4295, allocations: 0 / 0.6675 GB, free: 4.75 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.0005005/0.43, allocations: 489.2 kB / 0.668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.43, allocations: 9.438 kB / 0.668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.4301, allocations: 33.22 kB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.4301, allocations: 19.81 kB / 0.6681 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.4303, allocations: 210.5 kB / 0.6683 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4303, allocations: 5.5 kB / 0.6683 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4304, allocations: 20.61 kB / 0.6683 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4305, allocations: 94.42 kB / 0.6684 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4305, allocations: 9.219 kB / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4305, allocations: 0 / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4306, allocations: 1.375 kB / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.4306, allocations: 46.41 kB / 0.6684 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.4308, allocations: 248.2 kB / 0.6687 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.431, allocations: 111.3 kB / 0.6688 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.4311, allocations: 75.23 kB / 0.6688 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.4311, allocations: 1.281 kB / 0.6688 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.4313, allocations: 140.4 kB / 0.669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.143e-06/0.4313, allocations: 0 / 0.669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003933/0.4317, allocations: 216.8 kB / 0.6692 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.4318, allocations: 118.8 kB / 0.6693 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.4319, allocations: 138.1 kB / 0.6694 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.4319, allocations: 38.27 kB / 0.6695 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.4319, allocations: 98.53 kB / 0.6696 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.432, allocations: 63.08 kB / 0.6696 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.4321, allocations: 64.81 kB / 0.6697 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.4321, allocations: 326.8 kB / 0.67 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.4322, allocations: 53.91 kB / 0.6701 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.4324, allocations: 174.5 kB / 0.6702 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.4325, allocations: 135.8 kB / 0.6703 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4326, allocations: 1.688 kB / 0.6703 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002633/0.4328, allocations: 204.8 kB / 0.6705 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4328, allocations: 4.188 kB / 0.6705 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.4329, allocations: 5.406 kB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4329, allocations: 2.281 kB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.433, allocations: 13.47 kB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.433, allocations: 5.594 kB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.4332, allocations: 54.12 kB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4332, allocations: 9.469 kB / 0.6706 GB, free: 2.008 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.914e-05/0.4333, allocations: 139.9 kB / 0.6708 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.4333, allocations: 9.578 kB / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.4334, allocations: 18.95 kB / 0.6708 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4334, allocations: 2.719 kB / 0.6708 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4334, allocations: 5.156 kB / 0.6708 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4334, allocations: 1.312 kB / 0.6708 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.4335, allocations: 213.1 kB / 0.671 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4335, allocations: 5.594 kB / 0.671 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.4336, allocations: 8.312 kB / 0.671 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4336, allocations: 1.312 kB / 0.671 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4336, allocations: 6.281 kB / 0.671 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4336, allocations: 1.062 kB / 0.671 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4336, allocations: 1.094 kB / 0.671 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.4338, allocations: 225.4 kB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.4339, allocations: 84.66 kB / 0.6713 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.4339, allocations: 2.594 kB / 0.6713 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.434, allocations: 14.75 kB / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.434, allocations: 12.62 kB / 0.6714 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.434, allocations: 4.75 kB / 0.6714 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.4341, allocations: 109.2 kB / 0.6715 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4341, allocations: 0 / 0.6715 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003523/0.4344, allocations: 105.9 kB / 0.6716 GB, free: 1.219 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.000568/0.435, allocations: 0.8469 MB / 0.6724 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.4353, allocations: 220.4 kB / 0.6726 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4353, allocations: 0 / 0.6726 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.4354, allocations: 57.61 kB / 0.6727 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.4356, allocations: 15.23 kB / 0.6727 GB, free: 332 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4375, allocations: 1.827 MB / 0.6745 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4377, allocations: 0.7121 MB / 0.6751 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.4378, allocations: 13.22 kB / 0.6752 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.4379, allocations: 34.33 kB / 0.6752 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4379, allocations: 0 / 0.6752 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.4593, allocations: 4.613 MB / 0.6797 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.161, allocations: 2.594 kB / 0.6797 GB, free: 11.71 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)