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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006762/0.006762, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001263/0.001263, allocations: 194.5 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002056, allocations: 281.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9109/0.9109, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 95.83 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1404, allocations: 86.98 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002437/0.1428, allocations: 1.484 MB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1439, allocations: 0.6857 MB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.144, allocations: 0 / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.965e-05/0.1441, allocations: 11.92 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.1442, allocations: 11.86 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.1451, allocations: 350.2 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1453, allocations: 167.6 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.1454, allocations: 12 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.1455, allocations: 71.81 kB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.1456, allocations: 47.83 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.1456, allocations: 12 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.1459, allocations: 251.7 kB / 0.7694 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.146, allocations: 39.89 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.1461, allocations: 59.72 kB / 0.7695 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.1465, allocations: 303.3 kB / 0.7698 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1465, allocations: 0 / 0.7698 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1465, allocations: 4 kB / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1465, allocations: 0 / 0.7698 GB, free: 4.977 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.0005683/0.1471, allocations: 479 kB / 0.7702 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1471, allocations: 8.031 kB / 0.7702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.1472, allocations: 12.84 kB / 0.7702 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1474, allocations: 220 kB / 0.7704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1474, allocations: 8.375 kB / 0.7705 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.1474, allocations: 8.375 kB / 0.7705 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1476, allocations: 107.1 kB / 0.7706 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1476, allocations: 8.109 kB / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1476, allocations: 3.938 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1476, allocations: 0 / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.1477, allocations: 47.97 kB / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.148, allocations: 247.3 kB / 0.7709 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1481, allocations: 115.9 kB / 0.771 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.1482, allocations: 66.67 kB / 0.771 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.1482, allocations: 7.922 kB / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.1484, allocations: 137.9 kB / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.1484, allocations: 0 / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0003729/0.1488, allocations: 221.2 kB / 0.7714 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.1489, allocations: 110.8 kB / 0.7715 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.149, allocations: 141.8 kB / 0.7716 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1491, allocations: 33.7 kB / 0.7717 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.1491, allocations: 100.7 kB / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.1492, allocations: 55.33 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.1493, allocations: 61.69 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1494, allocations: 326.8 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1495, allocations: 48.27 kB / 0.7722 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1497, allocations: 188.5 kB / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1499, allocations: 126.5 kB / 0.7725 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1499, allocations: 3.938 kB / 0.7725 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002814/0.1501, allocations: 201.3 kB / 0.7727 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1502, allocations: 8 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.1502, allocations: 15.98 kB / 0.7727 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1502, allocations: 0 / 0.7727 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.1503, allocations: 15.94 kB / 0.7728 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1503, allocations: 0.9375 kB / 0.7728 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1505, allocations: 47.7 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1505, allocations: 11.98 kB / 0.7728 GB, free: 1.508 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.0001165/0.1507, allocations: 140.8 kB / 0.7729 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.1507, allocations: 19.84 kB / 0.773 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.1507, allocations: 16.7 kB / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1507, allocations: 0 / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1508, allocations: 0 / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1508, allocations: 4 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1509, allocations: 217.4 kB / 0.7732 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1509, allocations: 0 / 0.7732 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.151, allocations: 8 kB / 0.7732 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.151, allocations: 0 / 0.7732 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.151, allocations: 4 kB / 0.7732 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.151, allocations: 0 / 0.7732 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.151, allocations: 8 kB / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1513, allocations: 210.5 kB / 0.7734 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1513, allocations: 92.86 kB / 0.7735 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1514, allocations: 8 kB / 0.7735 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.1514, allocations: 15.92 kB / 0.7735 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1515, allocations: 12 kB / 0.7735 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1515, allocations: 7.984 kB / 0.7735 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.1516, allocations: 105.9 kB / 0.7736 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1516, allocations: 0 / 0.7736 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000318/0.1519, allocations: 95.98 kB / 0.7737 GB, free: 476 kB / 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.0002732/0.1522, allocations: 211 kB / 0.7739 GB, free: 256 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1525, allocations: 212.9 kB / 0.7741 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1525, allocations: 4 kB / 0.7741 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2875/0.44, allocations: 54.84 kB / 0.7742 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4403, allocations: 11.05 kB / 0.7742 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.4408, allocations: 242.4 kB / 0.7744 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.4409, allocations: 0.7098 MB / 0.7751 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.584e-05/0.441, allocations: 13.22 kB / 0.7751 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.441, allocations: 14.52 kB / 0.7752 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.441, allocations: 0 / 0.7752 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.006104/0.4472, allocations: 3.166 MB / 0.7782 GB, free: 13.9 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)