Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001253/0.001253, allocations: 199.8 kB / 16.14 MB, free: 6.793 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8502/0.8502, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.78 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 80.93 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00308/0.1503, allocations: 1.534 MB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1516, allocations: 0.7283 MB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1517, allocations: 0 / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.171e-05/0.1518, allocations: 7.922 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.1519, allocations: 19.86 kB / 0.586 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.1528, allocations: 286.3 kB / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1531, allocations: 159.7 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.1532, allocations: 7.984 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1533, allocations: 63.83 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1534, allocations: 47.77 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.1534, allocations: 15.94 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.1539, allocations: 243.8 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.154, allocations: 35.88 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1541, allocations: 51.73 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.1547, allocations: 295.6 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1547, allocations: 0 / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1547, allocations: 0 / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1547, allocations: 0 / 0.5872 GB, free: 1.418 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.0007656/0.1555, allocations: 486.9 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1555, allocations: 12.02 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.1556, allocations: 34.75 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.1557, allocations: 16.84 kB / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1559, allocations: 214.1 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1559, allocations: 4.375 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1559, allocations: 12.38 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1561, allocations: 96.73 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1561, allocations: 7.938 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1562, allocations: 7.984 kB / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1562, allocations: 0 / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.1563, allocations: 43.92 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.1565, allocations: 251.3 kB / 0.5883 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1567, allocations: 111.9 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1568, allocations: 66.67 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1568, allocations: 7.969 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.1571, allocations: 137.8 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.1571, allocations: 0 / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003991/0.1575, allocations: 217.3 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.1576, allocations: 114.8 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1577, allocations: 144.4 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.1577, allocations: 41.7 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.1578, allocations: 96.69 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.1579, allocations: 55.34 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.158, allocations: 61.69 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1581, allocations: 326.8 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.1582, allocations: 48.27 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1584, allocations: 177.1 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1586, allocations: 133.9 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1586, allocations: 0 / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002849/0.1589, allocations: 205.3 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1589, allocations: 4 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.1589, allocations: 11.92 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1589, allocations: 4 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.159, allocations: 11.94 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.159, allocations: 8 kB / 0.5902 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1593, allocations: 47.7 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1593, allocations: 19.98 kB / 0.5903 GB, free: 13.9 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.0001213/0.1594, allocations: 132 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1594, allocations: 7.906 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.1595, allocations: 20.7 kB / 0.5904 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1595, allocations: 4 kB / 0.5904 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1595, allocations: 4 kB / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1595, allocations: 0 / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1597, allocations: 217.3 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1597, allocations: 4 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1597, allocations: 8 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1598, allocations: 0 / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1598, allocations: 8 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1598, allocations: 0 / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1598, allocations: 0 / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1601, allocations: 216.1 kB / 0.5909 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.1601, allocations: 92.86 kB / 0.591 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1601, allocations: 0 / 0.591 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.1602, allocations: 15.92 kB / 0.591 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.1603, allocations: 7.984 kB / 0.591 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1603, allocations: 8 kB / 0.591 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.1604, allocations: 99.27 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1604, allocations: 4 kB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003376/0.1607, allocations: 99.98 kB / 0.5912 GB, free: 12.87 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.0007004/0.1614, allocations: 0.8501 MB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.1617, allocations: 221 kB / 0.5922 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1617, allocations: 0 / 0.5922 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.1618, allocations: 51.92 kB / 0.5923 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.162, allocations: 19.78 kB / 0.5923 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1638, allocations: 1.834 MB / 0.5941 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.164, allocations: 0.7162 MB / 0.5948 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.1641, allocations: 8.891 kB / 0.5948 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.1641, allocations: 39.36 kB / 0.5948 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1641, allocations: 3.938 kB / 0.5948 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.1783, allocations: 4.32 MB / 0.5991 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.1786, allocations: 228.4 kB / 0.5993 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.909, allocations: 8 kB / 0.5993 GB, free: 4.57 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)