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.001557/0.001557, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001688/0.001688, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8571/0.8571, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.08 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002814/0.1331, allocations: 1.531 MB / 0.5855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1341, allocations: 0.7006 MB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.1342, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.1343, allocations: 11.92 kB / 0.5862 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.1344, allocations: 7.922 kB / 0.5862 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1354, allocations: 310.6 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.1357, allocations: 171.7 kB / 0.5866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1358, allocations: 4 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.136, allocations: 79.75 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.1361, allocations: 47.77 kB / 0.5868 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.1361, allocations: 12 kB / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.1365, allocations: 243.8 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.1366, allocations: 47.88 kB / 0.5871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.1367, allocations: 59.73 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.1372, allocations: 299.6 kB / 0.5874 GB, free: 1.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/0.1372, allocations: 4 kB / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1372, allocations: 3.938 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1373, allocations: 0 / 0.5874 GB, free: 1.277 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.0006701/0.1379, allocations: 474.9 kB / 0.5879 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.138, allocations: 12.03 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.138, allocations: 38.73 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.1381, allocations: 16.84 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1383, allocations: 208.1 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1383, allocations: 8.312 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1384, allocations: 16.36 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1386, allocations: 100.7 kB / 0.5882 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1386, allocations: 3.938 kB / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1386, allocations: 0 / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1386, allocations: 3.984 kB / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1387, allocations: 51.92 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.139, allocations: 251.3 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1392, allocations: 107.9 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.1393, allocations: 70.67 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.1393, allocations: 0 / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.1396, allocations: 141.8 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.1396, allocations: 0 / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004187/0.14, allocations: 226 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.1401, allocations: 110.8 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1402, allocations: 144 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.1403, allocations: 33.7 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.1403, allocations: 96.64 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.1404, allocations: 59.33 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.1405, allocations: 61.69 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1406, allocations: 326.8 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.1407, allocations: 56.27 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.1409, allocations: 176.5 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1411, allocations: 133.9 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1411, allocations: 0 / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000293/0.1414, allocations: 197.3 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1415, allocations: 8 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.1415, allocations: 7.984 kB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1415, allocations: 0 / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.1416, allocations: 16 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1416, allocations: 4.172 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1419, allocations: 55.2 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1419, allocations: 8 kB / 0.5905 GB, free: 13.77 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.0001241/0.142, allocations: 148.1 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.142, allocations: 7.906 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.1421, allocations: 12.72 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1421, allocations: 0 / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1421, allocations: 3.984 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/0.1421, allocations: 4 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1423, allocations: 209.4 kB / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1423, allocations: 7.938 kB / 0.5909 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.1423, allocations: 15.92 kB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1423, allocations: 3.938 kB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1424, allocations: 8 kB / 0.5909 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1424, allocations: 0 / 0.5909 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1424, allocations: 7.984 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1426, allocations: 211.7 kB / 0.5911 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.1427, allocations: 92.86 kB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1427, allocations: 4 kB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.1428, allocations: 11.94 kB / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1428, allocations: 7.984 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1428, allocations: 11.98 kB / 0.5912 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.1429, allocations: 100.7 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1429, allocations: 0 / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003344/0.1432, allocations: 99.98 kB / 0.5914 GB, free: 12.72 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.0007059/0.1439, allocations: 0.8403 MB / 0.5922 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1443, allocations: 225.7 kB / 0.5924 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1443, allocations: 0 / 0.5924 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.1444, allocations: 55.92 kB / 0.5925 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.1445, allocations: 19.23 kB / 0.5925 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.1463, allocations: 1.834 MB / 0.5943 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1465, allocations: 0.7123 MB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.1466, allocations: 12.88 kB / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.1466, allocations: 35.42 kB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1466, allocations: 0 / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1819/0.3285, allocations: 4.43 MB / 0.5994 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.3288, allocations: 219.9 kB / 0.5996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.539, allocations: 11.88 kB / 0.5996 GB, free: 4.336 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)