Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_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.00116/0.00116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001167/0.001167, allocations: 191.3 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6847/0.6847, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 63.7 kB / 0.5013 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 80.21 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002215/0.1265, allocations: 1.538 MB / 0.5812 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.1275, allocations: 0.7008 MB / 0.5819 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.1275, allocations: 0 / 0.5819 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.8e-05/0.1276, allocations: 7.922 kB / 0.5819 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.1276, allocations: 15.91 kB / 0.5819 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.1284, allocations: 313.1 kB / 0.5822 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1286, allocations: 167.7 kB / 0.5823 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.1286, allocations: 15.97 kB / 0.5824 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.1287, allocations: 67.84 kB / 0.5824 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.1287, allocations: 51.75 kB / 0.5825 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1288, allocations: 12 kB / 0.5825 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1291, allocations: 251.7 kB / 0.5827 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.1291, allocations: 39.89 kB / 0.5828 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.1292, allocations: 59.72 kB / 0.5828 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1295, allocations: 303.6 kB / 0.5831 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1295, allocations: 0 / 0.5831 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1295, allocations: 4 kB / 0.5831 GB, free: 5.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1295, allocations: 0 / 0.5831 GB, free: 5.508 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.0005037/0.13, allocations: 475 kB / 0.5836 GB, free: 4.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1301, allocations: 8.031 kB / 0.5836 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.1301, allocations: 42.67 kB / 0.5836 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1302, allocations: 12.84 kB / 0.5836 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1304, allocations: 212 kB / 0.5838 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1304, allocations: 8.359 kB / 0.5838 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1304, allocations: 16.38 kB / 0.5838 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1306, allocations: 92.8 kB / 0.5839 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1306, allocations: 7.875 kB / 0.5839 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1306, allocations: 7.984 kB / 0.5839 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1306, allocations: 4 kB / 0.584 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.1307, allocations: 39.92 kB / 0.584 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1309, allocations: 255.3 kB / 0.5842 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1311, allocations: 107.9 kB / 0.5843 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.1311, allocations: 70.67 kB / 0.5844 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1312, allocations: 0 / 0.5844 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1314, allocations: 143.8 kB / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.1314, allocations: 0 / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003526/0.1317, allocations: 217.3 kB / 0.5847 GB, free: 3.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1318, allocations: 122.7 kB / 0.5849 GB, free: 3.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.1319, allocations: 139.7 kB / 0.585 GB, free: 3.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.132, allocations: 41.7 kB / 0.585 GB, free: 3.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.132, allocations: 96.7 kB / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1321, allocations: 55.34 kB / 0.5852 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.1321, allocations: 57.69 kB / 0.5852 GB, free: 3.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.1322, allocations: 326.8 kB / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.1323, allocations: 48.27 kB / 0.5856 GB, free: 2.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.1325, allocations: 176.5 kB / 0.5858 GB, free: 2.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1327, allocations: 138.2 kB / 0.5859 GB, free: 2.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1327, allocations: 0 / 0.5859 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002665/0.133, allocations: 204.8 kB / 0.5861 GB, free: 2.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.133, allocations: 4 kB / 0.5861 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.133, allocations: 11.98 kB / 0.5861 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/0.133, allocations: 4 kB / 0.5861 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.1331, allocations: 15.94 kB / 0.5861 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1331, allocations: 0 / 0.5861 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1333, allocations: 51.7 kB / 0.5862 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1334, allocations: 8 kB / 0.5862 GB, free: 2.008 MB / 494.1 MB 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.000113/0.1335, allocations: 148.7 kB / 0.5863 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1335, allocations: 11.91 kB / 0.5863 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.1335, allocations: 20.7 kB / 0.5864 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1335, allocations: 4 kB / 0.5864 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1335, allocations: 0 / 0.5864 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1336, allocations: 0 / 0.5864 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1337, allocations: 209.4 kB / 0.5866 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1337, allocations: 3.984 kB / 0.5866 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.1338, allocations: 8 kB / 0.5866 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1338, allocations: 4 kB / 0.5866 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1338, allocations: 4 kB / 0.5866 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1338, allocations: 11.94 kB / 0.5866 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1338, allocations: 3.938 kB / 0.5866 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.134, allocations: 210.6 kB / 0.5868 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.1341, allocations: 92.86 kB / 0.5869 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1341, allocations: 0 / 0.5869 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.1342, allocations: 15.92 kB / 0.5869 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1342, allocations: 8 kB / 0.5869 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1342, allocations: 7.984 kB / 0.5869 GB, free: 1.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.1343, allocations: 104.5 kB / 0.587 GB, free: 1.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1343, allocations: 0 / 0.587 GB, free: 1.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1346, allocations: 104 kB / 0.5871 GB, free: 0.957 MB / 494.1 MB 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.0006304/0.1352, allocations: 0.8456 MB / 0.5879 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1355, allocations: 222.4 kB / 0.5881 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1355, allocations: 0 / 0.5881 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.1356, allocations: 59.92 kB / 0.5882 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.1358, allocations: 13.83 kB / 0.5882 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1374, allocations: 1.842 MB / 0.59 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1376, allocations: 0.7122 MB / 0.5907 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.1377, allocations: 8.891 kB / 0.5907 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.1377, allocations: 35.42 kB / 0.5908 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1377, allocations: 0 / 0.5908 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3726/0.5103, allocations: 4.416 MB / 0.5951 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.5107, allocations: 223.6 kB / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.031, allocations: 0 / 0.5953 GB, free: 8.57 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)