Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_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.001227/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001226/0.001225, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8527/0.8527, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 64.73 kB / 0.5048 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1392, allocations: 80.92 MB / 0.5838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002331/0.1416, allocations: 1.538 MB / 0.5853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1427, allocations: 0.7283 MB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1427, allocations: 0 / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.347e-05/0.1428, allocations: 11.92 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.1429, allocations: 11.91 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.1436, allocations: 278.6 kB / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1438, allocations: 167.6 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1439, allocations: 8 kB / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.1439, allocations: 63.83 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.144, allocations: 51.75 kB / 0.5866 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1441, allocations: 11.94 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.1444, allocations: 243.7 kB / 0.5868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.1444, allocations: 31.91 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.1445, allocations: 59.7 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.1449, allocations: 291.6 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1449, allocations: 4 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1449, allocations: 0 / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1449, allocations: 0 / 0.5872 GB, free: 1.453 MB / 494.1 MB 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.0006435/0.1456, allocations: 485 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1456, allocations: 8.031 kB / 0.5877 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.1457, allocations: 42.73 kB / 0.5877 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1457, allocations: 8.844 kB / 0.5877 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1459, allocations: 212 kB / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1459, allocations: 8.375 kB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.146, allocations: 16.38 kB / 0.5879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1461, allocations: 92.8 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1462, allocations: 3.938 kB / 0.588 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1462, allocations: 0 / 0.588 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1462, allocations: 4 kB / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.1463, allocations: 47.91 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.1465, allocations: 255.3 kB / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1467, allocations: 107.8 kB / 0.5884 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.1468, allocations: 74.7 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1468, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.147, allocations: 135.5 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.147, allocations: 0 / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003772/0.1474, allocations: 221.3 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1475, allocations: 118.7 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1476, allocations: 144.5 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.1476, allocations: 33.7 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.1477, allocations: 100.7 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.1478, allocations: 55.34 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.1479, allocations: 57.69 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.148, allocations: 326.8 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.1481, allocations: 60.25 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1483, allocations: 177.1 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1485, allocations: 133.2 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1485, allocations: 0 / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002794/0.1488, allocations: 205 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1488, allocations: 4 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.1488, allocations: 7.938 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1488, allocations: 0 / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.1489, allocations: 23.92 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1489, allocations: 0 / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1491, allocations: 53.67 kB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1492, allocations: 4 kB / 0.5903 GB, free: 13.95 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.0001178/0.1493, allocations: 148 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1493, allocations: 11.89 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1494, allocations: 12.72 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1494, allocations: 4 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1494, allocations: 0 / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1494, allocations: 0 / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1495, allocations: 213.4 kB / 0.5906 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1495, allocations: 0 / 0.5906 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.1496, allocations: 12.08 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1496, allocations: 4 kB / 0.5907 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1496, allocations: 15.97 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1496, allocations: 4 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1496, allocations: 0 / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1499, allocations: 207.5 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.1499, allocations: 92.86 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.15, allocations: 3.984 kB / 0.591 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.15, allocations: 15.94 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1501, allocations: 7.984 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1501, allocations: 4 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.1501, allocations: 109.8 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 0 / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003096/0.1505, allocations: 99.98 kB / 0.5912 GB, free: 12.9 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.0006429/0.1511, allocations: 0.8499 MB / 0.592 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1514, allocations: 213 kB / 0.5922 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1514, allocations: 0 / 0.5922 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/0.1515, allocations: 63.91 kB / 0.5923 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.1517, allocations: 15.84 kB / 0.5923 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.1534, allocations: 1.831 MB / 0.5941 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1537, allocations: 0.7045 MB / 0.5948 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.1537, allocations: 12.88 kB / 0.5948 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1538, allocations: 27.44 kB / 0.5948 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.1538, allocations: 3.938 kB / 0.5948 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04101/0.1948, allocations: 4.339 MB / 0.5991 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.1951, allocations: 223.5 kB / 0.5993 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.867, allocations: 0 / 0.5993 GB, free: 4.609 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)