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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, 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.766/0.766, allocations: 133.6 MB / 141.6 MB, free: 2.84 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.499/1.499, allocations: 221.5 MB / 395.4 MB, free: 10.83 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.0009385/0.0009388, allocations: 93.64 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.897e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4672, allocations: 82.31 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.6107, allocations: 111 MB / 0.7423 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.6109, allocations: 75.95 kB / 0.7424 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01407/0.625, allocations: 5.006 MB / 0.7473 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.342e-06/0.625, allocations: 0 / 0.7473 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.6251, allocations: 4 kB / 0.7473 GB, free: 6.691 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.0005978/0.6257, allocations: 450.1 kB / 0.7477 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6257, allocations: 12.03 kB / 0.7477 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.6258, allocations: 19.89 kB / 0.7477 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.6261, allocations: 218.7 kB / 0.7479 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.6261, allocations: 0 / 0.7479 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.6261, allocations: 8 kB / 0.7479 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/0.6263, allocations: 47.97 kB / 0.748 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.6264, allocations: 92.23 kB / 0.7481 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.6264, allocations: 0 / 0.7481 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6265, allocations: 0 / 0.7481 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6265, allocations: 0 / 0.7481 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.6267, allocations: 235.7 kB / 0.7483 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.6269, allocations: 103.9 kB / 0.7484 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.627, allocations: 66.72 kB / 0.7485 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.627, allocations: 3.938 kB / 0.7485 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.6272, allocations: 133.1 kB / 0.7486 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.6272, allocations: 0 / 0.7486 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0003925/0.6276, allocations: 185.3 kB / 0.7488 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.6277, allocations: 114.8 kB / 0.7489 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.6278, allocations: 123 kB / 0.749 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6278, allocations: 29.7 kB / 0.749 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.6279, allocations: 108.6 kB / 0.7491 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.6279, allocations: 59.27 kB / 0.7492 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.628, allocations: 0 / 0.7492 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6281, allocations: 322.8 kB / 0.7495 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.6282, allocations: 52.2 kB / 0.7495 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.6284, allocations: 187.1 kB / 0.7497 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6285, allocations: 72.31 kB / 0.7498 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6286, allocations: 0 / 0.7498 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003131/0.6289, allocations: 205.2 kB / 0.75 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6289, allocations: 4 kB / 0.75 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.6289, allocations: 4 kB / 0.75 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.629, allocations: 4 kB / 0.75 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.629, allocations: 8 kB / 0.75 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6291, allocations: 7.984 kB / 0.75 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.6293, allocations: 47.8 kB / 0.7501 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.6293, allocations: 19.94 kB / 0.7501 GB, free: 3.492 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.0001083/0.6294, allocations: 117.1 kB / 0.7502 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00028/0.6297, allocations: 177.6 kB / 0.7504 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.6297, allocations: 11.81 kB / 0.7504 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.6298, allocations: 16.62 kB / 0.7504 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6298, allocations: 4 kB / 0.7504 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6298, allocations: 4 kB / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6298, allocations: 0 / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.63, allocations: 182.1 kB / 0.7506 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.63, allocations: 3.953 kB / 0.7506 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.63, allocations: 15.94 kB / 0.7506 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.63, allocations: 0 / 0.7506 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.6301, allocations: 4 kB / 0.7506 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6301, allocations: 3.984 kB / 0.7506 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6301, allocations: 0 / 0.7506 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.6304, allocations: 248.3 kB / 0.7508 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.6305, allocations: 85.02 kB / 0.7509 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.6305, allocations: 0 / 0.7509 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.6306, allocations: 11.98 kB / 0.7509 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.6306, allocations: 15.92 kB / 0.7509 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.6306, allocations: 4 kB / 0.7509 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.715e-05/0.6307, allocations: 109.3 kB / 0.751 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6307, allocations: 0 / 0.751 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003729/0.6311, allocations: 115.8 kB / 0.7512 GB, free: 2.285 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.0008232/0.6319, allocations: 1.006 MB / 0.7521 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.6322, allocations: 209 kB / 0.7523 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6322, allocations: 0 / 0.7523 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.6323, allocations: 55.92 kB / 0.7524 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.6325, allocations: 11.89 kB / 0.7524 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.633, allocations: 256.7 kB / 0.7526 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.6333, allocations: 0.7045 MB / 0.7533 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.634e-05/0.6333, allocations: 12.88 kB / 0.7533 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.6334, allocations: 35.42 kB / 0.7534 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6334, allocations: 0 / 0.7534 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.6589, allocations: 3.86 MB / 0.7572 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/0.6592, allocations: 157.9 kB / 0.7573 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.369, allocations: 0 / 0.7573 GB, free: 11.85 MB / 0.5417 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/linux/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)