Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.007489/0.00749, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001914/0.001914, allocations: 195.1 kB / 16.68 MB, free: 5.523 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 63.53 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1367, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002439/0.1392, allocations: 1.486 MB / 0.6606 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1404, allocations: 0.6928 MB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.1404, allocations: 0 / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.069e-05/0.1405, allocations: 3.938 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.1406, allocations: 15.86 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.1415, allocations: 345.6 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.1417, allocations: 175.6 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1418, allocations: 7.984 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.1418, allocations: 59.91 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.1419, allocations: 55.75 kB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.142, allocations: 12 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.1423, allocations: 255.7 kB / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1424, allocations: 35.91 kB / 0.6622 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.1425, allocations: 67.7 kB / 0.6623 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.1429, allocations: 299.4 kB / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.1429, allocations: 4 kB / 0.6626 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1429, allocations: 4 kB / 0.6626 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1429, allocations: 0 / 0.6626 GB, free: 7.273 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.00063/0.1436, allocations: 478.4 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1436, allocations: 8.031 kB / 0.663 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1437, allocations: 42.75 kB / 0.6631 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1437, allocations: 16.84 kB / 0.6631 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1439, allocations: 208.2 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.144, allocations: 8.375 kB / 0.6633 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.144, allocations: 8.375 kB / 0.6633 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1442, allocations: 100.8 kB / 0.6634 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1442, allocations: 7.875 kB / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1442, allocations: 3.938 kB / 0.6634 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1442, allocations: 4 kB / 0.6634 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.1443, allocations: 47.97 kB / 0.6635 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.1446, allocations: 247.3 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1448, allocations: 111.9 kB / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1449, allocations: 74.66 kB / 0.6639 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1449, allocations: 3.938 kB / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1451, allocations: 137.8 kB / 0.664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1452, allocations: 0 / 0.664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.000406/0.1456, allocations: 226.1 kB / 0.6642 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.1456, allocations: 110.8 kB / 0.6643 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1458, allocations: 143.7 kB / 0.6645 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1458, allocations: 33.7 kB / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1459, allocations: 100.7 kB / 0.6646 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.146, allocations: 55.58 kB / 0.6646 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.146, allocations: 65.69 kB / 0.6647 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1462, allocations: 326.8 kB / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.1463, allocations: 52.25 kB / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1465, allocations: 180.5 kB / 0.6652 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1467, allocations: 129.7 kB / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1467, allocations: 0 / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003057/0.147, allocations: 201.4 kB / 0.6656 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1471, allocations: 8 kB / 0.6656 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.1471, allocations: 7.984 kB / 0.6656 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1471, allocations: 3.938 kB / 0.6656 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.1472, allocations: 15.94 kB / 0.6656 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1472, allocations: 0 / 0.6656 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1474, allocations: 51.8 kB / 0.6656 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1475, allocations: 11.98 kB / 0.6657 GB, free: 3.762 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.0001284/0.1476, allocations: 145 kB / 0.6658 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1476, allocations: 11.95 kB / 0.6658 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.1477, allocations: 20.7 kB / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1477, allocations: 0 / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1477, allocations: 0 / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1477, allocations: 4 kB / 0.6658 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1479, allocations: 213.4 kB / 0.666 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1479, allocations: 4 kB / 0.666 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.1479, allocations: 8 kB / 0.666 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1479, allocations: 0 / 0.666 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1479, allocations: 4 kB / 0.666 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.148, allocations: 0 / 0.666 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.148, allocations: 4 kB / 0.666 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.1483, allocations: 222.5 kB / 0.6663 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1483, allocations: 89 kB / 0.6663 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1483, allocations: 8 kB / 0.6664 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.1484, allocations: 11.92 kB / 0.6664 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1485, allocations: 11.98 kB / 0.6664 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1485, allocations: 4 kB / 0.6664 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.257e-05/0.1485, allocations: 105.1 kB / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 0 / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003304/0.1489, allocations: 99.8 kB / 0.6666 GB, free: 2.711 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.000757/0.1496, allocations: 0.8441 MB / 0.6674 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.15, allocations: 219.8 kB / 0.6676 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.15, allocations: 7.938 kB / 0.6676 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.1501, allocations: 51.97 kB / 0.6677 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.1503, allocations: 16.41 kB / 0.6677 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1522, allocations: 1.839 MB / 0.6695 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1525, allocations: 0.7123 MB / 0.6702 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.1526, allocations: 9.156 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.1526, allocations: 35.42 kB / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1526, allocations: 0 / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.1888, allocations: 4.603 MB / 0.6747 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/7.949, allocations: 19.73 kB / 0.6747 GB, free: 10.36 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)