Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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.004802/0.004802, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.001061/0.001061, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9478/0.9478, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 55.91 kB / 0.5851 GB, free: 3.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4272, allocations: 80.92 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002517/0.4298, allocations: 1.48 MB / 0.6656 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.4309, allocations: 0.6972 MB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.4309, allocations: 1.406 kB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.431, allocations: 5.219 kB / 0.6663 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.4311, allocations: 14.45 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.4321, allocations: 357.2 kB / 0.6666 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.4323, allocations: 170.6 kB / 0.6668 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.4324, allocations: 5.125 kB / 0.6668 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.4325, allocations: 65.8 kB / 0.6669 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.4326, allocations: 52.41 kB / 0.6669 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.4326, allocations: 16.5 kB / 0.6669 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.4329, allocations: 246.8 kB / 0.6672 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.433, allocations: 37.8 kB / 0.6672 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.4331, allocations: 66.31 kB / 0.6673 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.4335, allocations: 306.8 kB / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4335, allocations: 0 / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4335, allocations: 1.062 kB / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4335, allocations: 0 / 0.6675 GB, free: 4.766 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.0005604/0.4341, allocations: 477.1 kB / 0.668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4341, allocations: 12.48 kB / 0.668 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.4342, allocations: 41.34 kB / 0.6681 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.4342, allocations: 15.69 kB / 0.6681 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.4344, allocations: 208.6 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4344, allocations: 9.688 kB / 0.6683 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.4344, allocations: 7.875 kB / 0.6683 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.4346, allocations: 109 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4346, allocations: 5.375 kB / 0.6684 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4347, allocations: 3.984 kB / 0.6684 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4347, allocations: 4.969 kB / 0.6684 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4348, allocations: 42.3 kB / 0.6684 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.435, allocations: 252.2 kB / 0.6687 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.4352, allocations: 111.8 kB / 0.6688 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4353, allocations: 74.64 kB / 0.6689 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4353, allocations: 6.797 kB / 0.6689 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.4355, allocations: 131.9 kB / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.4355, allocations: 0 / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004089/0.436, allocations: 221.4 kB / 0.6692 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.436, allocations: 113.3 kB / 0.6693 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.4361, allocations: 138 kB / 0.6694 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.4362, allocations: 42.86 kB / 0.6695 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.4362, allocations: 94.14 kB / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.4363, allocations: 63.28 kB / 0.6696 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.4363, allocations: 64.12 kB / 0.6697 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.4364, allocations: 327.2 kB / 0.67 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.4365, allocations: 50.08 kB / 0.6701 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.4367, allocations: 178.8 kB / 0.6702 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4368, allocations: 127.4 kB / 0.6703 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4369, allocations: 1.344 kB / 0.6703 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002622/0.4371, allocations: 206 kB / 0.6705 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4371, allocations: 5.125 kB / 0.6705 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.4372, allocations: 7.984 kB / 0.6706 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4372, allocations: 1.094 kB / 0.6706 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.4373, allocations: 15.47 kB / 0.6706 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4373, allocations: 1.062 kB / 0.6706 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4375, allocations: 56.14 kB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4375, allocations: 6.688 kB / 0.6706 GB, free: 2.035 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.64e-05/0.4376, allocations: 145.2 kB / 0.6708 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.4376, allocations: 9.172 kB / 0.6708 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.4377, allocations: 19.8 kB / 0.6708 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4377, allocations: 6.203 kB / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4377, allocations: 1.062 kB / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4377, allocations: 5.359 kB / 0.6708 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.4378, allocations: 218.3 kB / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4378, allocations: 0 / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.4379, allocations: 8.906 kB / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4379, allocations: 1.219 kB / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4379, allocations: 2.344 kB / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4379, allocations: 5.062 kB / 0.671 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4379, allocations: 5.359 kB / 0.671 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.4382, allocations: 221.7 kB / 0.6713 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.4382, allocations: 84.91 kB / 0.6713 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.4382, allocations: 6.812 kB / 0.6713 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.4383, allocations: 10.61 kB / 0.6714 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.4383, allocations: 8.375 kB / 0.6714 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4384, allocations: 8.109 kB / 0.6714 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.4384, allocations: 106.2 kB / 0.6715 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4384, allocations: 0 / 0.6715 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003401/0.4388, allocations: 110.2 kB / 0.6716 GB, free: 1.234 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.0005886/0.4394, allocations: 0.8422 MB / 0.6724 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.4397, allocations: 223.5 kB / 0.6726 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4397, allocations: 4 kB / 0.6726 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.4398, allocations: 52.45 kB / 0.6727 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.44, allocations: 11.75 kB / 0.6727 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.4418, allocations: 1.834 MB / 0.6745 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4421, allocations: 0.7091 MB / 0.6752 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.4421, allocations: 13.16 kB / 0.6752 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.4422, allocations: 33.83 kB / 0.6752 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4422, allocations: 0 / 0.6752 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.4625, allocations: 4.619 MB / 0.6797 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.831, allocations: 2.469 kB / 0.6797 GB, free: 11.72 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)