Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001637/0.001637, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5172/0.5172, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 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 / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 94.53 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.954e-05, allocations: 3.984 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.6283, allocations: 101.2 MB / 0.6524 GB, free: 8.777 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.6286, allocations: 71.03 kB / 0.6525 GB, free: 8.738 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.6426, allocations: 5.01 MB / 0.6574 GB, free: 4.457 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6426, allocations: 0 / 0.6574 GB, free: 4.457 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.6426, allocations: 4 kB / 0.6574 GB, free: 4.453 MB / 458.7 MB 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.0005542/0.6432, allocations: 457.2 kB / 0.6578 GB, free: 3.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6432, allocations: 8.031 kB / 0.6578 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.6433, allocations: 19.77 kB / 0.6579 GB, free: 3.945 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.6436, allocations: 204.3 kB / 0.6581 GB, free: 3.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6436, allocations: 8.734 kB / 0.6581 GB, free: 3.707 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.6437, allocations: 11.06 kB / 0.6581 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.6438, allocations: 37.98 kB / 0.6581 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.644, allocations: 101.8 kB / 0.6582 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.644, allocations: 0 / 0.6582 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.644, allocations: 0 / 0.6582 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.644, allocations: 7.953 kB / 0.6582 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.6442, allocations: 223 kB / 0.6584 GB, free: 3.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6444, allocations: 107.8 kB / 0.6585 GB, free: 3.211 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.6445, allocations: 70.56 kB / 0.6586 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.6445, allocations: 0 / 0.6586 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.6447, allocations: 141.9 kB / 0.6587 GB, free: 3.008 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.6447, allocations: 0 / 0.6587 GB, free: 3.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003788/0.6451, allocations: 175.2 kB / 0.6589 GB, free: 2.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.6452, allocations: 118 kB / 0.659 GB, free: 2.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.6453, allocations: 126.2 kB / 0.6591 GB, free: 2.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.6453, allocations: 37.06 kB / 0.6592 GB, free: 2.562 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.6454, allocations: 95.83 kB / 0.6593 GB, free: 2.473 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.6454, allocations: 49.86 kB / 0.6593 GB, free: 2.434 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.6454, allocations: 0 / 0.6593 GB, free: 2.434 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6456, allocations: 333.4 kB / 0.6596 GB, free: 2.105 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.6457, allocations: 48.52 kB / 0.6597 GB, free: 2.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.6458, allocations: 188.7 kB / 0.6599 GB, free: 1.863 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.646, allocations: 83.28 kB / 0.6599 GB, free: 1.801 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.646, allocations: 4 kB / 0.6599 GB, free: 1.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002847/0.6463, allocations: 188.6 kB / 0.6601 GB, free: 1.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6463, allocations: 4 kB / 0.6601 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.6464, allocations: 11.94 kB / 0.6601 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6464, allocations: 3.984 kB / 0.6601 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.6465, allocations: 19.92 kB / 0.6602 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.6465, allocations: 0 / 0.6602 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.6467, allocations: 55.73 kB / 0.6602 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.6467, allocations: 8 kB / 0.6602 GB, free: 1.539 MB / 458.7 MB 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 9.325e-05/0.6468, allocations: 122.9 kB / 0.6603 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002561/0.6471, allocations: 167.9 kB / 0.6605 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.6471, allocations: 15.81 kB / 0.6605 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.6472, allocations: 10.75 kB / 0.6605 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6472, allocations: 4 kB / 0.6605 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6472, allocations: 3.984 kB / 0.6605 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6472, allocations: 7.938 kB / 0.6605 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6473, allocations: 183.2 kB / 0.6607 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6473, allocations: 0 / 0.6607 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.6474, allocations: 8 kB / 0.6607 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6474, allocations: 3.984 kB / 0.6607 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6474, allocations: 4 kB / 0.6607 GB, free: 1.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6474, allocations: 0 / 0.6607 GB, free: 1.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6474, allocations: 3.938 kB / 0.6607 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.6477, allocations: 244.4 kB / 0.661 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.6478, allocations: 88.92 kB / 0.661 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.6478, allocations: 7.984 kB / 0.6611 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.6479, allocations: 4 kB / 0.6611 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.6479, allocations: 11.94 kB / 0.6611 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.6479, allocations: 10.75 kB / 0.6611 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.648, allocations: 104.5 kB / 0.6612 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.648, allocations: 0 / 0.6612 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003811/0.6484, allocations: 111.5 kB / 0.6613 GB, free: 456 kB / 458.7 MB 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.000753/0.6492, allocations: 1.022 MB / 0.6623 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.6494, allocations: 212.1 kB / 0.6625 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6494, allocations: 0 / 0.6625 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.6495, allocations: 49.17 kB / 0.6625 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.6497, allocations: 3.938 kB / 0.6625 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.6501, allocations: 265.4 kB / 0.6628 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.6504, allocations: 0.7127 MB / 0.6635 GB, free: 14.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.6504, allocations: 12.88 kB / 0.6635 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.6505, allocations: 30.61 kB / 0.6635 GB, free: 14.14 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6505, allocations: 0 / 0.6635 GB, free: 14.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.6754, allocations: 3.856 MB / 0.6673 GB, free: 10.32 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.6757, allocations: 169 kB / 0.6675 GB, free: 10.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.297, allocations: 4 kB / 0.6675 GB, free: 10.12 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)