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.001434/0.001434, allocations: 172.5 kB / 7.646 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.8048/0.8048, allocations: 133.6 MB / 141.6 MB, free: 2.848 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.698/1.698, allocations: 221.5 MB / 395.4 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.001274/0.001274, allocations: 94.34 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.187e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5524, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.7211, allocations: 111 MB / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.7214, allocations: 75.95 kB / 0.7424 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.736, allocations: 5.022 MB / 0.7473 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7361, allocations: 0 / 0.7473 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.7361, allocations: 4 kB / 0.7473 GB, free: 6.535 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.000648/0.7367, allocations: 450.1 kB / 0.7478 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.7368, allocations: 8.031 kB / 0.7478 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.7369, allocations: 11.91 kB / 0.7478 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.7372, allocations: 232.6 kB / 0.748 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.7372, allocations: 0 / 0.748 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.7373, allocations: 12 kB / 0.748 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.7374, allocations: 39.97 kB / 0.748 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.7376, allocations: 100.2 kB / 0.7481 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7376, allocations: 0 / 0.7481 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.7376, allocations: 0 / 0.7481 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7376, allocations: 0 / 0.7481 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.7379, allocations: 227.8 kB / 0.7484 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.7381, allocations: 107.9 kB / 0.7485 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.7382, allocations: 62.67 kB / 0.7485 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.7382, allocations: 4 kB / 0.7485 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.7384, allocations: 136.9 kB / 0.7487 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.7384, allocations: 0 / 0.7487 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.000438/0.7389, allocations: 173.4 kB / 0.7488 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.739, allocations: 118.8 kB / 0.7489 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.7391, allocations: 122.2 kB / 0.749 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.7391, allocations: 37.7 kB / 0.7491 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.7392, allocations: 100.6 kB / 0.7492 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.7393, allocations: 55.25 kB / 0.7492 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.7393, allocations: 0 / 0.7492 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7394, allocations: 326.8 kB / 0.7495 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.7395, allocations: 48.27 kB / 0.7496 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.7397, allocations: 183.1 kB / 0.7498 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.7399, allocations: 88.28 kB / 0.7498 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7399, allocations: 0 / 0.7498 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003075/0.7402, allocations: 197.2 kB / 0.75 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7402, allocations: 4.781 kB / 0.75 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.7403, allocations: 7.984 kB / 0.75 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7403, allocations: 4 kB / 0.7501 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.7404, allocations: 11.94 kB / 0.7501 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.7404, allocations: 4 kB / 0.7501 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.7406, allocations: 51.8 kB / 0.7501 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.7406, allocations: 4 kB / 0.7501 GB, free: 3.352 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.0001108/0.7408, allocations: 123.3 kB / 0.7502 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002875/0.7411, allocations: 189.6 kB / 0.7504 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.7411, allocations: 15.75 kB / 0.7504 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.7411, allocations: 16.61 kB / 0.7505 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7411, allocations: 4 kB / 0.7505 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7412, allocations: 4 kB / 0.7505 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7412, allocations: 0 / 0.7505 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.7413, allocations: 178.1 kB / 0.7506 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.7413, allocations: 3.953 kB / 0.7506 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.7414, allocations: 8 kB / 0.7506 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.7414, allocations: 4 kB / 0.7506 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7414, allocations: 0 / 0.7506 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7414, allocations: 4 kB / 0.7506 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7414, allocations: 0 / 0.7506 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.7418, allocations: 252.3 kB / 0.7509 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.7418, allocations: 85.02 kB / 0.751 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.7419, allocations: 0 / 0.751 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.7419, allocations: 4 kB / 0.751 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.742, allocations: 15.98 kB / 0.751 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.742, allocations: 11.98 kB / 0.751 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.7421, allocations: 96.22 kB / 0.7511 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7421, allocations: 0 / 0.7511 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004309/0.7425, allocations: 115.8 kB / 0.7512 GB, free: 2.141 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.0008389/0.7434, allocations: 1.016 MB / 0.7522 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.7437, allocations: 205 kB / 0.7524 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7437, allocations: 0 / 0.7524 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.7438, allocations: 51.94 kB / 0.7524 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.7439, allocations: 11.89 kB / 0.7525 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.7445, allocations: 256.7 kB / 0.7527 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.7448, allocations: 0.7123 MB / 0.7534 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.7449, allocations: 13.3 kB / 0.7534 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.7449, allocations: 35.42 kB / 0.7534 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7449, allocations: 3.938 kB / 0.7534 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.7682, allocations: 3.857 MB / 0.7572 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.7685, allocations: 155.8 kB / 0.7574 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.609, allocations: 0 / 0.7574 GB, free: 11.7 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)