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.001204/0.001204, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 192.1 kB / 16.67 MB, free: 6.543 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.226/1.226, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 286.8 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8862/0.8862, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 95.84 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1369, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002457/0.1394, allocations: 1.481 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1406, allocations: 0.6934 MB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.1406, allocations: 0 / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.387e-05/0.1407, allocations: 7.938 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.1408, allocations: 11.86 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.1418, allocations: 350.6 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1421, allocations: 167.6 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.1421, allocations: 19.98 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1422, allocations: 55.91 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1423, allocations: 55.75 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1424, allocations: 12 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.1427, allocations: 255.7 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.1428, allocations: 31.91 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.1429, allocations: 71.7 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.1433, allocations: 295.4 kB / 0.7693 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1433, allocations: 4 kB / 0.7693 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1433, allocations: 3.938 kB / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1434, allocations: 0 / 0.7693 GB, free: 5.465 MB / 0.5606 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.0005682/0.1439, allocations: 482.5 kB / 0.7697 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.144, allocations: 8.031 kB / 0.7697 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.144, allocations: 38.75 kB / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.1441, allocations: 12.84 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1443, allocations: 208.2 kB / 0.77 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1443, allocations: 16.38 kB / 0.77 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1443, allocations: 12.36 kB / 0.77 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1445, allocations: 96.78 kB / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1445, allocations: 7.875 kB / 0.7701 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1445, allocations: 4 kB / 0.7701 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1445, allocations: 0 / 0.7701 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.1446, allocations: 43.97 kB / 0.7702 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.1449, allocations: 251.4 kB / 0.7704 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.145, allocations: 111.8 kB / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/0.1451, allocations: 74.66 kB / 0.7706 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1451, allocations: 7.938 kB / 0.7706 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1454, allocations: 135.9 kB / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1454, allocations: 0 / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0003922/0.1458, allocations: 217.4 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.1459, allocations: 118.8 kB / 0.771 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.146, allocations: 147.7 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.146, allocations: 33.7 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1461, allocations: 104.7 kB / 0.7713 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.1461, allocations: 47.64 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.1462, allocations: 57.69 kB / 0.7714 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1463, allocations: 326.8 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1464, allocations: 60.19 kB / 0.7718 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1466, allocations: 188.4 kB / 0.772 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1468, allocations: 130.6 kB / 0.7721 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1468, allocations: 0 / 0.7721 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002726/0.1471, allocations: 213.3 kB / 0.7723 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1471, allocations: 4 kB / 0.7723 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.1471, allocations: 4 kB / 0.7723 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1471, allocations: 4 kB / 0.7723 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.1472, allocations: 11.94 kB / 0.7723 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1472, allocations: 4 kB / 0.7723 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1475, allocations: 47.83 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1475, allocations: 8 kB / 0.7724 GB, free: 1.945 MB / 0.5606 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.0001156/0.1476, allocations: 148.8 kB / 0.7725 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1476, allocations: 11.91 kB / 0.7725 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.1477, allocations: 16.7 kB / 0.7725 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1477, allocations: 4 kB / 0.7725 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1477, allocations: 4 kB / 0.7725 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1477, allocations: 0 / 0.7725 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1478, allocations: 213.5 kB / 0.7727 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1479, allocations: 0 / 0.7727 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.1479, allocations: 12 kB / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1479, allocations: 0 / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1479, allocations: 8 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1479, allocations: 0 / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1479, allocations: 0 / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1482, allocations: 219.5 kB / 0.773 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.1482, allocations: 92.95 kB / 0.7731 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1483, allocations: 4 kB / 0.7731 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.1483, allocations: 15.92 kB / 0.7731 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1484, allocations: 11.98 kB / 0.7731 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1484, allocations: 4 kB / 0.7731 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.1485, allocations: 105.5 kB / 0.7732 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1485, allocations: 0 / 0.7732 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003225/0.1488, allocations: 103.8 kB / 0.7733 GB, free: 0.8945 MB / 0.5606 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.000649/0.1494, allocations: 0.8426 MB / 0.7741 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2528/0.4023, allocations: 218.6 kB / 0.7743 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4023, allocations: 0 / 0.7743 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4024, allocations: 55.08 kB / 0.7744 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.4027, allocations: 11.36 kB / 0.7744 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.4043, allocations: 1.824 MB / 0.7762 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.4044, allocations: 0.7101 MB / 0.7769 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.4045, allocations: 13.52 kB / 0.7769 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.4045, allocations: 34.8 kB / 0.7769 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.4045, allocations: 1.688 kB / 0.7769 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.424, allocations: 4.638 MB / 0.7814 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/7.18, allocations: 9.531 kB / 0.7814 GB, free: 10.45 MB / 0.5606 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)