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.006258/0.006258, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001462/0.001462, allocations: 188.5 kB / 16.67 MB, free: 5.918 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7824/0.7824, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 57.75 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 80.93 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002858/0.168, allocations: 1.484 MB / 0.6656 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1693, allocations: 0.6889 MB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.1694, allocations: 4 kB / 0.6663 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.537e-05/0.1695, allocations: 7.938 kB / 0.6663 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.595e-05/0.1696, allocations: 19.84 kB / 0.6663 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1709, allocations: 338.5 kB / 0.6666 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1711, allocations: 171.6 kB / 0.6668 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.1712, allocations: 11.98 kB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.1713, allocations: 63.84 kB / 0.6668 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.1714, allocations: 51.81 kB / 0.6669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.1714, allocations: 12 kB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.1718, allocations: 255.7 kB / 0.6671 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.1719, allocations: 39.91 kB / 0.6672 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.1719, allocations: 55.72 kB / 0.6672 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1724, allocations: 310.7 kB / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1724, allocations: 0 / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1724, allocations: 0 / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.1724, allocations: 0 / 0.6675 GB, free: 2.848 MB / 0.4981 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.0005963/0.173, allocations: 479.3 kB / 0.668 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.173, allocations: 9.109 kB / 0.668 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1731, allocations: 38.75 kB / 0.668 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.1732, allocations: 16.75 kB / 0.668 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1734, allocations: 210 kB / 0.6682 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1734, allocations: 4.375 kB / 0.6683 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1734, allocations: 12.38 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1736, allocations: 100.8 kB / 0.6684 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1736, allocations: 7.875 kB / 0.6684 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1736, allocations: 4 kB / 0.6684 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1737, allocations: 7.922 kB / 0.6684 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.1738, allocations: 43.97 kB / 0.6684 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.174, allocations: 251.3 kB / 0.6687 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1742, allocations: 111.9 kB / 0.6688 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.1743, allocations: 74.59 kB / 0.6688 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.1743, allocations: 0 / 0.6688 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.1746, allocations: 137.8 kB / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.1746, allocations: 0 / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004058/0.175, allocations: 221.3 kB / 0.6692 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.1751, allocations: 114.8 kB / 0.6693 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1752, allocations: 147.1 kB / 0.6694 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.1752, allocations: 37.7 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.1753, allocations: 100.7 kB / 0.6696 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.1754, allocations: 51.36 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.1755, allocations: 61.62 kB / 0.6697 GB, free: 384 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1756, allocations: 326.8 kB / 0.67 GB, free: 48 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.1757, allocations: 52.25 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1759, allocations: 176.5 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1761, allocations: 134.6 kB / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1761, allocations: 0 / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002786/0.1764, allocations: 201.2 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.1764, allocations: 7.984 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.1764, allocations: 4 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1765, allocations: 8 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.1766, allocations: 11.94 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1766, allocations: 7.938 kB / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1768, allocations: 47.78 kB / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1768, allocations: 12 kB / 0.6706 GB, free: 15.34 MB / 0.5137 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.0001188/0.1769, allocations: 136.1 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.177, allocations: 19.8 kB / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.177, allocations: 20.7 kB / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.177, allocations: 4 kB / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.177, allocations: 0 / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1771, allocations: 0 / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1772, allocations: 209.5 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1772, allocations: 4 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.1773, allocations: 8 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1773, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1773, allocations: 8 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1773, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1773, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1776, allocations: 224.5 kB / 0.6712 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.1777, allocations: 88.95 kB / 0.6713 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1777, allocations: 0 / 0.6713 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.1777, allocations: 15.92 kB / 0.6713 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1778, allocations: 7.984 kB / 0.6713 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1778, allocations: 16 kB / 0.6713 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.1779, allocations: 101.5 kB / 0.6714 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1779, allocations: 0 / 0.6714 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003529/0.1783, allocations: 99.98 kB / 0.6715 GB, free: 14.29 MB / 0.5137 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.0007503/0.179, allocations: 0.8493 MB / 0.6724 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.1794, allocations: 221.9 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1794, allocations: 0 / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.1795, allocations: 51.98 kB / 0.6726 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.1796, allocations: 17.38 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1815, allocations: 1.818 MB / 0.6744 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1818, allocations: 0.7162 MB / 0.6751 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.976e-05/0.1818, allocations: 8.875 kB / 0.6751 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.1819, allocations: 42.23 kB / 0.6752 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1819, allocations: 4 kB / 0.6752 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.2067, allocations: 4.607 MB / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.121, allocations: 0.625 kB / 0.6797 GB, free: 5.938 MB / 0.5137 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)