Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.005016/0.005016, allocations: 101 kB / 15.73 MB, free: 6.059 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.001333/0.001333, allocations: 192 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 292.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 95.84 kB / 0.6809 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3908, allocations: 86.98 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002781/0.3936, allocations: 1.48 MB / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3949, allocations: 0.6907 MB / 0.768 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.395, allocations: 0 / 0.768 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.3951, allocations: 7.938 kB / 0.768 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.3952, allocations: 15.84 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3962, allocations: 355.5 kB / 0.7684 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3965, allocations: 163.8 kB / 0.7685 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.3965, allocations: 11.97 kB / 0.7685 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.3966, allocations: 67.84 kB / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.3967, allocations: 51.75 kB / 0.7686 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.3968, allocations: 12 kB / 0.7687 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3972, allocations: 255.7 kB / 0.7689 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.3973, allocations: 31.91 kB / 0.7689 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3974, allocations: 71.7 kB / 0.769 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.3978, allocations: 308.2 kB / 0.7693 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3978, allocations: 0 / 0.7693 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3978, allocations: 0 / 0.7693 GB, free: 416 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3979, allocations: 0 / 0.7693 GB, free: 416 kB / 0.5294 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.0006826/0.3985, allocations: 486.4 kB / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3986, allocations: 8.031 kB / 0.7698 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.3986, allocations: 30.75 kB / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.3987, allocations: 20.84 kB / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3989, allocations: 208.2 kB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.399, allocations: 8.375 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.399, allocations: 12.38 kB / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3992, allocations: 103.1 kB / 0.7701 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3992, allocations: 3.938 kB / 0.7701 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3992, allocations: 4 kB / 0.7701 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3992, allocations: 4 kB / 0.7701 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3994, allocations: 43.97 kB / 0.7702 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.3997, allocations: 239.4 kB / 0.7704 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3998, allocations: 111.9 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4, allocations: 78.59 kB / 0.7706 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.4, allocations: 4 kB / 0.7706 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.4002, allocations: 130.8 kB / 0.7707 GB, free: 14.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.236e-06/0.4003, allocations: 0 / 0.7707 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004454/0.4007, allocations: 229.3 kB / 0.7709 GB, free: 14.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.4008, allocations: 118.8 kB / 0.771 GB, free: 14.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4009, allocations: 141.8 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.401, allocations: 37.7 kB / 0.7712 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.4011, allocations: 104.6 kB / 0.7713 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.4011, allocations: 47.64 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.4012, allocations: 61.69 kB / 0.7714 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4014, allocations: 322.8 kB / 0.7717 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4015, allocations: 60.25 kB / 0.7718 GB, free: 13.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4017, allocations: 172.5 kB / 0.772 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.402, allocations: 138.5 kB / 0.7721 GB, free: 13.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.402, allocations: 0 / 0.7721 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003288/0.4023, allocations: 205.3 kB / 0.7723 GB, free: 12.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4023, allocations: 7.984 kB / 0.7723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.4024, allocations: 4 kB / 0.7723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4024, allocations: 0 / 0.7723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.4025, allocations: 15.94 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4025, allocations: 0 / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4027, allocations: 55.83 kB / 0.7724 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4027, allocations: 12 kB / 0.7724 GB, free: 12.89 MB / 0.545 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.0001372/0.4029, allocations: 150.4 kB / 0.7725 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.4029, allocations: 11.91 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.403, allocations: 20.7 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.403, allocations: 4 kB / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.403, allocations: 0 / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.403, allocations: 0 / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4032, allocations: 209.5 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4032, allocations: 4 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.4033, allocations: 8 kB / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4033, allocations: 4 kB / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4033, allocations: 0 / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4033, allocations: 4 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4033, allocations: 3.938 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.4036, allocations: 220.5 kB / 0.773 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4037, allocations: 89.02 kB / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4037, allocations: 0 / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.4038, allocations: 11.92 kB / 0.7731 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4038, allocations: 15.92 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4038, allocations: 4 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.4039, allocations: 106.2 kB / 0.7732 GB, free: 11.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4039, allocations: 0 / 0.7732 GB, free: 11.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000348/0.4043, allocations: 107.7 kB / 0.7733 GB, free: 11.85 MB / 0.545 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.0008029/0.4051, allocations: 0.8411 MB / 0.7741 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.4055, allocations: 225.2 kB / 0.7743 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4055, allocations: 0 / 0.7743 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.4056, allocations: 59.92 kB / 0.7744 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.4058, allocations: 20.75 kB / 0.7744 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.4078, allocations: 1.815 MB / 0.7762 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.4081, allocations: 0.7122 MB / 0.7769 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.022e-05/0.4082, allocations: 17.14 kB / 0.7769 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.4083, allocations: 35.42 kB / 0.7769 GB, free: 7.953 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.4083, allocations: 0 / 0.7769 GB, free: 7.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.4323, allocations: 4.628 MB / 0.7815 GB, free: 3.535 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.344, allocations: 4.188 kB / 0.7815 GB, free: 3.531 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)