Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.464/1.464, allocations: 287.4 MB / 302.6 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 169.2 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006656/0.0006657, allocations: 96.95 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 11.45 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001069/0.1442, allocations: 1.198 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.145, allocations: 0.639 MB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.145, allocations: 0 / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.1451, allocations: 3.938 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.1452, allocations: 15.91 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.1458, allocations: 288.9 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.146, allocations: 135.7 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.146, allocations: 4 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.1461, allocations: 67.81 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.1461, allocations: 51.77 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1462, allocations: 4 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.1464, allocations: 231.8 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.1465, allocations: 35.89 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1465, allocations: 41.64 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1467, allocations: 215.8 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1467, allocations: 0 / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1467, allocations: 0 / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.1468, allocations: 0 / 0.9816 GB, free: 25.2 MB / 0.6198 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.000396/0.1472, allocations: 451.1 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1472, allocations: 12.03 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.1472, allocations: 34.75 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1473, allocations: 20.73 kB / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1474, allocations: 208.1 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1474, allocations: 8.312 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1475, allocations: 16.36 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1476, allocations: 103.3 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1476, allocations: 3.938 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1476, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1476, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.1477, allocations: 55.84 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1479, allocations: 251.3 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.148, allocations: 107.8 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.148, allocations: 70.7 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.1481, allocations: 4 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1482, allocations: 137.8 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.193e-06/0.1482, allocations: 4 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0002969/0.1485, allocations: 217.8 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1486, allocations: 118.7 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.1487, allocations: 137.8 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1487, allocations: 33.7 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.1487, allocations: 96.69 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.1488, allocations: 63.25 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.1488, allocations: 4 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.1488, allocations: 322.8 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.1489, allocations: 56.25 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.149, allocations: 180.5 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1492, allocations: 130.5 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1492, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002118/0.1494, allocations: 205.2 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1494, allocations: 4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1494, allocations: 4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1495, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1495, allocations: 19.92 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1496, allocations: 4 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1497, allocations: 59.8 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1498, allocations: 4 kB / 0.9846 GB, free: 21.77 MB / 0.6198 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.1498, allocations: 148.1 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.1499, allocations: 11.91 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.1499, allocations: 20.66 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1499, allocations: 0 / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1499, allocations: 4 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1499, allocations: 0 / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.404e-05/0.15, allocations: 213.4 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.15, allocations: 0 / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.1501, allocations: 8 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1501, allocations: 4 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1501, allocations: 3.984 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1501, allocations: 4 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1501, allocations: 4 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.1503, allocations: 211.3 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.1503, allocations: 92.95 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1503, allocations: 11.92 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.1504, allocations: 7.938 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1504, allocations: 15.98 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1505, allocations: 4 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.1505, allocations: 108.2 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1505, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002575/0.1508, allocations: 99.98 kB / 0.9855 GB, free: 20.72 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004455/0.1512, allocations: 0.8452 MB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1514, allocations: 213 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1515, allocations: 0 / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.1515, allocations: 59.91 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.1517, allocations: 11.94 kB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.1525, allocations: 0.8604 MB / 0.9874 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.1526, allocations: 0.7048 MB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.1527, allocations: 12.88 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.1527, allocations: 31.44 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1527, allocations: 0 / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4449/0.5976, allocations: 4.269 MB / 0.9923 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.5978, allocations: 217.5 kB / 0.9925 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.421, allocations: 0 / 0.9925 GB, free: 13.54 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)