Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001195/0.001195, allocations: 109.4 kB / 15.69 MB, free: 128 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.00133/0.00133, allocations: 186.7 kB / 16.62 MB, free: 6.582 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.331/1.331, allocations: 222.9 MB / 240.3 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 286.5 kB / 290.8 MB, free: 1.895 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.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 94.98 kB / 0.5955 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1456, allocations: 86.98 MB / 0.6804 GB, free: 492 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002523/0.1482, allocations: 1.479 MB / 0.6819 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1492, allocations: 0.6928 MB / 0.6826 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.1493, allocations: 0 / 0.6826 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.803e-05/0.1494, allocations: 7.875 kB / 0.6826 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.1495, allocations: 23.84 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.1504, allocations: 341.2 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1506, allocations: 171.6 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.1506, allocations: 8.266 kB / 0.6831 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.1507, allocations: 71.83 kB / 0.6832 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.1508, allocations: 47.81 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1508, allocations: 16 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.1512, allocations: 243.8 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1513, allocations: 43.89 kB / 0.6835 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.1514, allocations: 59.72 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1517, allocations: 303.3 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1518, allocations: 4 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1518, allocations: 3.938 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1518, allocations: 0 / 0.6838 GB, free: 12.98 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.0005538/0.1523, allocations: 478.9 kB / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1524, allocations: 16.02 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.1524, allocations: 34.75 kB / 0.6843 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.1525, allocations: 12.84 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1527, allocations: 208.1 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1527, allocations: 4.375 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1527, allocations: 12.38 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1529, allocations: 102.5 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1529, allocations: 7.938 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1529, allocations: 7.922 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.153, allocations: 0 / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.153, allocations: 47.91 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1533, allocations: 247.4 kB / 0.685 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1534, allocations: 111.9 kB / 0.6851 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1535, allocations: 66.67 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1536, allocations: 7.984 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.1538, allocations: 142.5 kB / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.1538, allocations: 0 / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003864/0.1542, allocations: 213.5 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.1543, allocations: 114.8 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1544, allocations: 147.9 kB / 0.6857 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.1544, allocations: 33.7 kB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1545, allocations: 92.7 kB / 0.6859 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.1546, allocations: 59.28 kB / 0.6859 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.1547, allocations: 65.69 kB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1548, allocations: 326.8 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.1549, allocations: 48.2 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.1551, allocations: 180.5 kB / 0.6865 GB, free: 9.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1553, allocations: 138.5 kB / 0.6866 GB, free: 9.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1553, allocations: 3.938 kB / 0.6866 GB, free: 9.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000282/0.1556, allocations: 201.2 kB / 0.6868 GB, free: 9.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1556, allocations: 8 kB / 0.6868 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.1556, allocations: 7.984 kB / 0.6868 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1556, allocations: 0 / 0.6868 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.1557, allocations: 12 kB / 0.6869 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1557, allocations: 4 kB / 0.6869 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1559, allocations: 47.8 kB / 0.6869 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.156, allocations: 8 kB / 0.6869 GB, free: 9.484 MB / 494.1 MB 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.0001223/0.1561, allocations: 153.1 kB / 0.6871 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1561, allocations: 15.95 kB / 0.6871 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1562, allocations: 20.69 kB / 0.6871 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1562, allocations: 0 / 0.6871 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1562, allocations: 4 kB / 0.6871 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1562, allocations: 4 kB / 0.6871 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1564, allocations: 205.5 kB / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1564, allocations: 0 / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.1564, allocations: 11.94 kB / 0.6873 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1564, allocations: 0 / 0.6873 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1564, allocations: 8 kB / 0.6873 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1564, allocations: 0 / 0.6873 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1565, allocations: 4 kB / 0.6873 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1567, allocations: 218.8 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.1568, allocations: 88.95 kB / 0.6876 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1568, allocations: 4 kB / 0.6876 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.1569, allocations: 15.92 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1569, allocations: 7.938 kB / 0.6876 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1569, allocations: 7.984 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.157, allocations: 111.2 kB / 0.6878 GB, free: 8.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.157, allocations: 0 / 0.6878 GB, free: 8.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.1574, allocations: 99.98 kB / 0.6879 GB, free: 8.43 MB / 494.1 MB 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.0006889/0.1581, allocations: 0.8486 MB / 0.6887 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.1584, allocations: 213 kB / 0.6889 GB, free: 7.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1584, allocations: 0 / 0.6889 GB, free: 7.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.1585, allocations: 59.92 kB / 0.6889 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.1587, allocations: 15.94 kB / 0.689 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1605, allocations: 1.825 MB / 0.6907 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1607, allocations: 0.7084 MB / 0.6914 GB, free: 4.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.1608, allocations: 12.88 kB / 0.6914 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.1608, allocations: 37.67 kB / 0.6915 GB, free: 4.535 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1608, allocations: 0 / 0.6915 GB, free: 4.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1806, allocations: 4.603 MB / 0.696 GB, free: 144 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.73, allocations: 12.12 kB / 0.696 GB, free: 132 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)