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.005112/0.005112, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001146/0.001146, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9613/0.9613, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.5851 GB, free: 3.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4348, allocations: 80.92 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002105/0.4369, allocations: 1.475 MB / 0.6656 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.4379, allocations: 0.69 MB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.438, allocations: 1.094 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.4381, allocations: 13.27 kB / 0.6663 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.4382, allocations: 10.66 kB / 0.6663 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.4391, allocations: 360.7 kB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.4393, allocations: 171.1 kB / 0.6668 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.4393, allocations: 8.938 kB / 0.6668 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.4394, allocations: 66.23 kB / 0.6668 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.4395, allocations: 47.77 kB / 0.6669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.4395, allocations: 11.56 kB / 0.6669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.4399, allocations: 259 kB / 0.6672 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.4399, allocations: 37.72 kB / 0.6672 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.44, allocations: 69.84 kB / 0.6673 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.4404, allocations: 301.5 kB / 0.6675 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.4404, allocations: 7.984 kB / 0.6675 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4404, allocations: 0 / 0.6675 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4404, allocations: 1.344 kB / 0.6675 GB, free: 4.773 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.0005262/0.4409, allocations: 460.9 kB / 0.668 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.441, allocations: 12.88 kB / 0.668 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.441, allocations: 37 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.4411, allocations: 19.48 kB / 0.6681 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.4412, allocations: 205.1 kB / 0.6683 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4413, allocations: 9.375 kB / 0.6683 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.4413, allocations: 7.781 kB / 0.6683 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4415, allocations: 102.9 kB / 0.6684 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4415, allocations: 5.406 kB / 0.6684 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4415, allocations: 4 kB / 0.6684 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4415, allocations: 1.438 kB / 0.6684 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.4416, allocations: 49.62 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.4418, allocations: 252.7 kB / 0.6687 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.4419, allocations: 111 kB / 0.6688 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.442, allocations: 70.83 kB / 0.6688 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.442, allocations: 2.438 kB / 0.6688 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.4423, allocations: 136.8 kB / 0.669 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.4423, allocations: 4 kB / 0.669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003789/0.4427, allocations: 217.1 kB / 0.6692 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4427, allocations: 117.6 kB / 0.6693 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.4428, allocations: 141.4 kB / 0.6694 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4429, allocations: 38.67 kB / 0.6695 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.4429, allocations: 105 kB / 0.6696 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.443, allocations: 56.31 kB / 0.6696 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.443, allocations: 63.97 kB / 0.6697 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.4431, allocations: 327 kB / 0.67 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.4432, allocations: 53.59 kB / 0.67 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.4434, allocations: 179.1 kB / 0.6702 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.4436, allocations: 132.5 kB / 0.6703 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4436, allocations: 1.344 kB / 0.6703 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002803/0.4439, allocations: 200.1 kB / 0.6705 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4439, allocations: 5.594 kB / 0.6705 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.4439, allocations: 8.188 kB / 0.6705 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4439, allocations: 1.469 kB / 0.6705 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.444, allocations: 14.64 kB / 0.6706 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.444, allocations: 5.375 kB / 0.6706 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.4443, allocations: 49.77 kB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.4443, allocations: 6.406 kB / 0.6706 GB, free: 2.059 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.000101/0.4444, allocations: 142 kB / 0.6708 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.4444, allocations: 12.64 kB / 0.6708 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.4445, allocations: 15.56 kB / 0.6708 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4445, allocations: 2.688 kB / 0.6708 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4445, allocations: 0.875 kB / 0.6708 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4445, allocations: 5.5 kB / 0.6708 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4446, allocations: 209.8 kB / 0.671 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4446, allocations: 0 / 0.671 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.4447, allocations: 12.56 kB / 0.671 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4447, allocations: 5.219 kB / 0.671 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4447, allocations: 2.469 kB / 0.671 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4447, allocations: 5.422 kB / 0.671 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4447, allocations: 1.312 kB / 0.671 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.4449, allocations: 216.4 kB / 0.6712 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.445, allocations: 89.33 kB / 0.6713 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.445, allocations: 10.8 kB / 0.6713 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.4451, allocations: 6.719 kB / 0.6713 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.4451, allocations: 13.14 kB / 0.6713 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.4451, allocations: 4.156 kB / 0.6713 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.4452, allocations: 104.5 kB / 0.6714 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4452, allocations: 4 kB / 0.6714 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003628/0.4456, allocations: 106.8 kB / 0.6715 GB, free: 1.27 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.0005549/0.4461, allocations: 0.8419 MB / 0.6724 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.4464, allocations: 221 kB / 0.6726 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4464, allocations: 0 / 0.6726 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.4465, allocations: 53.73 kB / 0.6726 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.4467, allocations: 15.83 kB / 0.6726 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.4484, allocations: 1.821 MB / 0.6744 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4487, allocations: 0.7086 MB / 0.6751 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.4488, allocations: 12.94 kB / 0.6751 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.4488, allocations: 34.14 kB / 0.6752 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.4488, allocations: 3.938 kB / 0.6752 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.4718, allocations: 4.677 MB / 0.6797 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.365, allocations: 6.812 kB / 0.6797 GB, free: 11.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)