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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008886/0.008887, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 97.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004195, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4604, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.6407, allocations: 111.8 MB / 0.7587 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.641, allocations: 79.91 kB / 0.7587 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01566/0.6567, allocations: 5.074 MB / 0.7637 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.396e-06/0.6568, allocations: 4 kB / 0.7637 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.6568, allocations: 4 kB / 0.7637 GB, free: 15.04 MB / 0.5417 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.0008211/0.6576, allocations: 462.8 kB / 0.7641 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.6577, allocations: 8.031 kB / 0.7642 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.6578, allocations: 46.48 kB / 0.7642 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.6578, allocations: 15.81 kB / 0.7642 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.6582, allocations: 219.9 kB / 0.7644 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.6583, allocations: 8 kB / 0.7644 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.6583, allocations: 12 kB / 0.7644 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.6585, allocations: 104.2 kB / 0.7645 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6586, allocations: 4 kB / 0.7645 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6586, allocations: 0 / 0.7645 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.6586, allocations: 4 kB / 0.7645 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.6587, allocations: 43.97 kB / 0.7646 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.659, allocations: 255.3 kB / 0.7648 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.6592, allocations: 111.9 kB / 0.7649 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.6592, allocations: 0 / 0.7649 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.6595, allocations: 142.5 kB / 0.7651 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.153e-06/0.6595, allocations: 0 / 0.7651 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0005858/0.6601, allocations: 461.3 kB / 0.7655 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.6602, allocations: 118.8 kB / 0.7656 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.6603, allocations: 130.3 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.6604, allocations: 45.7 kB / 0.7658 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.6605, allocations: 96.7 kB / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.6606, allocations: 55.28 kB / 0.7659 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.6606, allocations: 4 kB / 0.7659 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6608, allocations: 326.8 kB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.6609, allocations: 52.72 kB / 0.7663 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.6611, allocations: 200.1 kB / 0.7665 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.6613, allocations: 79.88 kB / 0.7666 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6613, allocations: 0 / 0.7666 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003156/0.6616, allocations: 205.2 kB / 0.7668 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6616, allocations: 4 kB / 0.7668 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.6617, allocations: 8 kB / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6617, allocations: 3.938 kB / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6618, allocations: 20.06 kB / 0.7668 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.6618, allocations: 0 / 0.7668 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.662, allocations: 55.86 kB / 0.7669 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.6621, allocations: 8.234 kB / 0.7669 GB, free: 11.41 MB / 0.5417 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.6623, allocations: 148 kB / 0.767 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.6623, allocations: 11.81 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.6624, allocations: 16.7 kB / 0.767 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6624, allocations: 4 kB / 0.767 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6624, allocations: 4 kB / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.6624, allocations: 0 / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.6626, allocations: 205.5 kB / 0.7672 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6626, allocations: 3.953 kB / 0.7672 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.6627, allocations: 15.94 kB / 0.7673 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.6627, allocations: 0 / 0.7673 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.6627, allocations: 11.98 kB / 0.7673 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6627, allocations: 0 / 0.7673 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6627, allocations: 0 / 0.7673 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.6631, allocations: 251 kB / 0.7675 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.6632, allocations: 88.95 kB / 0.7676 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.6632, allocations: 8 kB / 0.7676 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.6633, allocations: 4 kB / 0.7676 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.6633, allocations: 11.92 kB / 0.7676 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.6633, allocations: 19.98 kB / 0.7676 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.695e-05/0.6634, allocations: 101.1 kB / 0.7677 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6634, allocations: 0 / 0.7677 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004908/0.6639, allocations: 119.9 kB / 0.7678 GB, free: 10.29 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009569/0.6649, allocations: 1.016 MB / 0.7688 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.6653, allocations: 213 kB / 0.769 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.6653, allocations: 4 kB / 0.769 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.6654, allocations: 55.92 kB / 0.7691 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.6655, allocations: 3.953 kB / 0.7691 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.6671, allocations: 1.171 MB / 0.7702 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.6675, allocations: 0.7087 MB / 0.7709 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.306e-05/0.6676, allocations: 16.86 kB / 0.771 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.6677, allocations: 31.44 kB / 0.771 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of SimCode: time 3.7e-07/0.6677, allocations: 4 kB / 0.771 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.6864, allocations: 4.196 MB / 0.7751 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6867, allocations: 195 kB / 0.7753 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.609, allocations: 0 / 0.7753 GB, free: 2.656 MB / 0.5417 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/linux/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)