Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001155/0.001155, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7961/0.7961, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008861/0.0008861, allocations: 102.8 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.075e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5767, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.7407, allocations: 111 MB / 0.7423 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.741, allocations: 75.95 kB / 0.7424 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.7556, allocations: 5.01 MB / 0.7473 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7557, allocations: 0 / 0.7473 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.7557, allocations: 4 kB / 0.7473 GB, free: 6.586 MB / 0.5261 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.0007102/0.7564, allocations: 454 kB / 0.7477 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.7565, allocations: 12.02 kB / 0.7477 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.7566, allocations: 11.91 kB / 0.7477 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.757, allocations: 222.8 kB / 0.7479 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.757, allocations: 0 / 0.7479 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.757, allocations: 12 kB / 0.7479 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001525/0.7572, allocations: 43.91 kB / 0.748 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.7574, allocations: 96.23 kB / 0.7481 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7574, allocations: 0 / 0.7481 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7574, allocations: 0 / 0.7481 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7574, allocations: 0 / 0.7481 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.7578, allocations: 227.8 kB / 0.7483 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.7579, allocations: 107.9 kB / 0.7484 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.812e-05/0.758, allocations: 66.61 kB / 0.7485 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.7581, allocations: 4 kB / 0.7485 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.7583, allocations: 136.7 kB / 0.7486 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.7583, allocations: 0 / 0.7486 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.000483/0.7588, allocations: 177.5 kB / 0.7488 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.7589, allocations: 114.8 kB / 0.7489 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.759, allocations: 131 kB / 0.749 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.7591, allocations: 29.7 kB / 0.749 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.7592, allocations: 100.6 kB / 0.7491 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.7593, allocations: 63.23 kB / 0.7492 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.7593, allocations: 0 / 0.7492 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.7595, allocations: 322.8 kB / 0.7495 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.7596, allocations: 44.28 kB / 0.7495 GB, free: 4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.7598, allocations: 195.7 kB / 0.7497 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.76, allocations: 80.3 kB / 0.7498 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.76, allocations: 0 / 0.7498 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003449/0.7604, allocations: 189.3 kB / 0.75 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7604, allocations: 7.938 kB / 0.75 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.7604, allocations: 7.984 kB / 0.75 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.7605, allocations: 7.984 kB / 0.75 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.7606, allocations: 8 kB / 0.75 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7606, allocations: 4 kB / 0.75 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.7608, allocations: 51.8 kB / 0.7501 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.7608, allocations: 8.234 kB / 0.7501 GB, free: 3.395 MB / 0.5261 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 () * 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.0001198/0.761, allocations: 115.2 kB / 0.7502 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003096/0.7613, allocations: 189.3 kB / 0.7504 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.7613, allocations: 11.81 kB / 0.7504 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.7614, allocations: 20.61 kB / 0.7504 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.7614, allocations: 4 kB / 0.7504 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7614, allocations: 4 kB / 0.7504 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7614, allocations: 0 / 0.7504 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.7616, allocations: 178.1 kB / 0.7506 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.7616, allocations: 7.938 kB / 0.7506 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.7616, allocations: 8 kB / 0.7506 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.7617, allocations: 4 kB / 0.7506 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7617, allocations: 3.938 kB / 0.7506 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7617, allocations: 4 kB / 0.7506 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7617, allocations: 0 / 0.7506 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.7621, allocations: 244.4 kB / 0.7508 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.7621, allocations: 89 kB / 0.7509 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.7622, allocations: 0 / 0.7509 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.7622, allocations: 4 kB / 0.7509 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.7623, allocations: 19.92 kB / 0.7509 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.7623, allocations: 8 kB / 0.7509 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.698e-05/0.7624, allocations: 101.3 kB / 0.751 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.709e-06/0.7624, allocations: 0 / 0.751 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004652/0.7629, allocations: 115.8 kB / 0.7511 GB, free: 2.184 MB / 0.5261 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) * 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.001015/0.7639, allocations: 1.013 MB / 0.7521 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.7643, allocations: 205 kB / 0.7523 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7643, allocations: 0 / 0.7523 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.7644, allocations: 51.94 kB / 0.7524 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.7646, allocations: 16.42 kB / 0.7524 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.7652, allocations: 256.7 kB / 0.7526 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.7656, allocations: 0.7127 MB / 0.7533 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.7656, allocations: 16.86 kB / 0.7534 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.7657, allocations: 35.42 kB / 0.7534 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.7657, allocations: 0 / 0.7534 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.792, allocations: 3.855 MB / 0.7572 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.7923, allocations: 166.2 kB / 0.7573 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.579, allocations: 1.094 kB / 0.7573 GB, free: 11.74 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)