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.0009202/0.00092, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007323/0.007323, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8972/0.8972, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001944/0.1774, allocations: 1.191 MB / 0.5892 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1787, allocations: 0.7166 MB / 0.5899 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.1788, allocations: 0 / 0.5899 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.791e-05/0.1789, allocations: 7.922 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.179, allocations: 7.938 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.18, allocations: 292.4 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1802, allocations: 155.7 kB / 0.5904 GB, free: 164 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.1803, allocations: 11.98 kB / 0.5904 GB, free: 152 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.1804, allocations: 59.78 kB / 0.5904 GB, free: 92 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.1805, allocations: 51.75 kB / 0.5905 GB, free: 40 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.1805, allocations: 8 kB / 0.5905 GB, free: 32 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.1809, allocations: 247.8 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.181, allocations: 35.89 kB / 0.5908 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.1811, allocations: 81.41 kB / 0.5908 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1816, allocations: 287.6 kB / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1816, allocations: 3.938 kB / 0.5911 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1816, allocations: 0 / 0.5911 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.1816, allocations: 4 kB / 0.5911 GB, free: 15.38 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.0005776/0.1822, allocations: 455 kB / 0.5916 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1822, allocations: 8.031 kB / 0.5916 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.1823, allocations: 42.73 kB / 0.5916 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.1823, allocations: 20.69 kB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1825, allocations: 204.2 kB / 0.5918 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1826, allocations: 8.375 kB / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1826, allocations: 8.375 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1828, allocations: 107.2 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1828, allocations: 3.938 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1828, allocations: 0 / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.1828, allocations: 3.984 kB / 0.592 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.552e-05/0.1829, allocations: 51.91 kB / 0.592 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.1832, allocations: 247.3 kB / 0.5922 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1833, allocations: 107.8 kB / 0.5923 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.1834, allocations: 74.7 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1835, allocations: 0 / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.1837, allocations: 141.8 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.1837, allocations: 0 / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004162/0.1841, allocations: 217.3 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.1842, allocations: 118.8 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1843, allocations: 137.8 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.1844, allocations: 37.69 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1845, allocations: 96.7 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1845, allocations: 51.27 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.1846, allocations: 37.64 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1847, allocations: 330.8 kB / 0.5935 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1848, allocations: 52.27 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.185, allocations: 176.5 kB / 0.5937 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1853, allocations: 138.2 kB / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1853, allocations: 0 / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003025/0.1856, allocations: 197.3 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1856, allocations: 4 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.1856, allocations: 4 kB / 0.5941 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1857, allocations: 4 kB / 0.5941 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.1858, allocations: 15.98 kB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1858, allocations: 11.94 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.186, allocations: 51.8 kB / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.186, allocations: 15.94 kB / 0.5942 GB, free: 11.91 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.0001221/0.1862, allocations: 140 kB / 0.5943 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.1862, allocations: 8.047 kB / 0.5943 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1862, allocations: 20.7 kB / 0.5943 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1863, allocations: 4 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1863, allocations: 0 / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1863, allocations: 3.984 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1864, allocations: 209.4 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1865, allocations: 0 / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.1865, allocations: 23.92 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1865, allocations: 0 / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1865, allocations: 4 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1865, allocations: 0 / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1866, allocations: 4 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1868, allocations: 216.4 kB / 0.5948 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1869, allocations: 88.95 kB / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1869, allocations: 7.938 kB / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.187, allocations: 7.938 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.187, allocations: 15.98 kB / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.187, allocations: 8 kB / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.1871, allocations: 105.8 kB / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1871, allocations: 0 / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003644/0.1875, allocations: 95.98 kB / 0.5951 GB, free: 10.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.000753/0.1883, allocations: 0.8601 MB / 0.5959 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1886, allocations: 217 kB / 0.5961 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1886, allocations: 0 / 0.5961 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.1887, allocations: 55.92 kB / 0.5962 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.1889, allocations: 14 kB / 0.5962 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1908, allocations: 1.836 MB / 0.598 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.191, allocations: 0.7045 MB / 0.5987 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.1911, allocations: 12.88 kB / 0.5987 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.1911, allocations: 31.44 kB / 0.5987 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1911, allocations: 0 / 0.5987 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.2112, allocations: 4.25 MB / 0.6029 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.2115, allocations: 215 kB / 0.6031 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.411, allocations: 4 kB / 0.6031 GB, free: 2.68 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)