Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_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.006746/0.006747, allocations: 99.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.001191/0.001191, allocations: 197.7 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.2 MB / 422.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.5808 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.412, allocations: 80.21 MB / 0.6592 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002508/0.4145, allocations: 1.477 MB / 0.6606 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.4156, allocations: 0.6941 MB / 0.6613 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.4157, allocations: 1.281 kB / 0.6613 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.861e-05/0.4158, allocations: 12 kB / 0.6613 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.4159, allocations: 13.09 kB / 0.6613 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.417, allocations: 349.8 kB / 0.6616 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.4173, allocations: 170.6 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.4174, allocations: 6.438 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4175, allocations: 73.55 kB / 0.6619 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.4176, allocations: 47.47 kB / 0.6619 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.4177, allocations: 12.25 kB / 0.6619 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.4181, allocations: 251.1 kB / 0.6622 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.4182, allocations: 42.83 kB / 0.6622 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.4183, allocations: 60.67 kB / 0.6623 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.4189, allocations: 304.3 kB / 0.6626 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4189, allocations: 5.375 kB / 0.6626 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4189, allocations: 0 / 0.6626 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4189, allocations: 0 / 0.6626 GB, free: 7.789 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.0005585/0.4195, allocations: 472 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4196, allocations: 13.75 kB / 0.663 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.4196, allocations: 41.33 kB / 0.6631 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.4196, allocations: 11.47 kB / 0.6631 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4198, allocations: 212.2 kB / 0.6633 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4198, allocations: 5.469 kB / 0.6633 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.4199, allocations: 11.72 kB / 0.6633 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.42, allocations: 101.7 kB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4201, allocations: 3.938 kB / 0.6634 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4201, allocations: 7.938 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4201, allocations: 2.344 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.4202, allocations: 50.12 kB / 0.6635 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.4204, allocations: 243 kB / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.4205, allocations: 107.7 kB / 0.6638 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.4206, allocations: 79.42 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.4206, allocations: 1.312 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.4208, allocations: 143.5 kB / 0.664 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.4208, allocations: 0 / 0.664 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003584/0.4212, allocations: 214.7 kB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4213, allocations: 113.6 kB / 0.6643 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.4213, allocations: 144.4 kB / 0.6645 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.4214, allocations: 35.58 kB / 0.6645 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.4214, allocations: 96.59 kB / 0.6646 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.4215, allocations: 67.03 kB / 0.6646 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.4216, allocations: 64.56 kB / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.4216, allocations: 326.8 kB / 0.665 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.4217, allocations: 54.34 kB / 0.6651 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4219, allocations: 177.9 kB / 0.6652 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.422, allocations: 128.7 kB / 0.6654 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.422, allocations: 3.938 kB / 0.6654 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002504/0.4223, allocations: 205.3 kB / 0.6656 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4223, allocations: 4.562 kB / 0.6656 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4223, allocations: 3.812 kB / 0.6656 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4224, allocations: 2.438 kB / 0.6656 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.4225, allocations: 18.27 kB / 0.6656 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4225, allocations: 5.219 kB / 0.6656 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4227, allocations: 53.3 kB / 0.6656 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4227, allocations: 6.578 kB / 0.6656 GB, free: 5.066 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 9.227e-05/0.4228, allocations: 142 kB / 0.6658 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.4228, allocations: 17.55 kB / 0.6658 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.4228, allocations: 11.69 kB / 0.6658 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4228, allocations: 2.344 kB / 0.6658 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4229, allocations: 1.25 kB / 0.6658 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4229, allocations: 4 kB / 0.6658 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.423, allocations: 201.9 kB / 0.666 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.423, allocations: 1.312 kB / 0.666 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.423, allocations: 16.97 kB / 0.666 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4231, allocations: 1.344 kB / 0.666 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4231, allocations: 6.641 kB / 0.666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4231, allocations: 1.062 kB / 0.666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4231, allocations: 0.9375 kB / 0.666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.4233, allocations: 213.6 kB / 0.6662 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.4233, allocations: 97.27 kB / 0.6663 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4234, allocations: 10.86 kB / 0.6663 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.4234, allocations: 6.344 kB / 0.6663 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.4235, allocations: 9.484 kB / 0.6664 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4235, allocations: 8.406 kB / 0.6664 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.4235, allocations: 109.3 kB / 0.6665 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4235, allocations: 4 kB / 0.6665 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003795/0.4239, allocations: 106.6 kB / 0.6666 GB, free: 4.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.0005529/0.4245, allocations: 0.8347 MB / 0.6674 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.4248, allocations: 219.4 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4248, allocations: 0 / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.4249, allocations: 61.22 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.425, allocations: 12.03 kB / 0.6677 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4265, allocations: 1.835 MB / 0.6695 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.4266, allocations: 0.7054 MB / 0.6702 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.4267, allocations: 16.67 kB / 0.6702 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.4267, allocations: 30.19 kB / 0.6702 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4267, allocations: 0 / 0.6702 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.4496, allocations: 4.661 MB / 0.6747 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.791, allocations: 19.11 kB / 0.6748 GB, free: 14.75 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)