Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001614/0.001614, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6832/0.6832, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.1 MB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008838, allocations: 103.2 kB / 427.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005441, allocations: 8 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1358, allocations: 72.31 MB / 0.5689 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5811, allocations: 102 MB / 0.6685 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5814, allocations: 71.97 kB / 0.6686 GB, free: 2.242 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.598, allocations: 5.077 MB / 0.6735 GB, free: 13.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5981, allocations: 3.938 kB / 0.6735 GB, free: 13.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.5981, allocations: 0 / 0.6735 GB, free: 13.16 MB / 474.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.0007177/0.5988, allocations: 467.3 kB / 0.674 GB, free: 12.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5989, allocations: 12.03 kB / 0.674 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/0.599, allocations: 38.55 kB / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.599, allocations: 19.86 kB / 0.6741 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.5994, allocations: 214.8 kB / 0.6743 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5994, allocations: 8 kB / 0.6743 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.5995, allocations: 12 kB / 0.6743 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5997, allocations: 98.25 kB / 0.6744 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5997, allocations: 0 / 0.6744 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5997, allocations: 4 kB / 0.6744 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.5997, allocations: 7.953 kB / 0.6744 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5998, allocations: 47.91 kB / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.6001, allocations: 255.4 kB / 0.6747 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.6003, allocations: 103.9 kB / 0.6748 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.6003, allocations: 11.94 kB / 0.6748 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.6005, allocations: 142.4 kB / 0.6749 GB, free: 11.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=21): time 1.492e-06/0.6005, allocations: 0 / 0.6749 GB, free: 11.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005489/0.6011, allocations: 448.8 kB / 0.6753 GB, free: 11.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.6012, allocations: 122.8 kB / 0.6755 GB, free: 10.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.6013, allocations: 138.4 kB / 0.6756 GB, free: 10.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.6014, allocations: 37.7 kB / 0.6756 GB, free: 10.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.6014, allocations: 96.64 kB / 0.6757 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.6015, allocations: 63.27 kB / 0.6758 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.6015, allocations: 0 / 0.6758 GB, free: 10.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6016, allocations: 326.8 kB / 0.6761 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.6017, allocations: 60.58 kB / 0.6762 GB, free: 10.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.602, allocations: 205.4 kB / 0.6763 GB, free: 9.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.6021, allocations: 74.94 kB / 0.6764 GB, free: 9.836 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6021, allocations: 0 / 0.6764 GB, free: 9.836 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003051/0.6024, allocations: 202.5 kB / 0.6766 GB, free: 9.633 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6024, allocations: 8 kB / 0.6766 GB, free: 9.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.6025, allocations: 4 kB / 0.6766 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6025, allocations: 4 kB / 0.6766 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.6026, allocations: 23.92 kB / 0.6766 GB, free: 9.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6026, allocations: 0 / 0.6766 GB, free: 9.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.6028, allocations: 55.86 kB / 0.6767 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.6029, allocations: 11.95 kB / 0.6767 GB, free: 9.527 MB / 474.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 () * 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.0001275/0.603, allocations: 140.2 kB / 0.6768 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.603, allocations: 15.81 kB / 0.6769 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.6031, allocations: 16.7 kB / 0.6769 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6031, allocations: 4 kB / 0.6769 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6031, allocations: 0 / 0.6769 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6031, allocations: 0 / 0.6769 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.6033, allocations: 213.5 kB / 0.6771 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6033, allocations: 4 kB / 0.6771 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.6034, allocations: 8 kB / 0.6771 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.6034, allocations: 3.984 kB / 0.6771 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.6034, allocations: 7.938 kB / 0.6771 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6034, allocations: 0 / 0.6771 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6034, allocations: 240 / 0.6771 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.6037, allocations: 250.6 kB / 0.6773 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.6038, allocations: 92.95 kB / 0.6774 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.6038, allocations: 4 kB / 0.6774 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.6039, allocations: 8 kB / 0.6774 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.604, allocations: 15.94 kB / 0.6775 GB, free: 8.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.604, allocations: 11.98 kB / 0.6775 GB, free: 8.637 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.6041, allocations: 105 kB / 0.6776 GB, free: 8.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6041, allocations: 0 / 0.6776 GB, free: 8.535 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.6045, allocations: 115.9 kB / 0.6777 GB, free: 8.422 MB / 474.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) * 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.0009529/0.6055, allocations: 1.021 MB / 0.6787 GB, free: 7.355 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.6058, allocations: 221 kB / 0.6789 GB, free: 7.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6058, allocations: 3.938 kB / 0.6789 GB, free: 7.117 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.6059, allocations: 55.92 kB / 0.6789 GB, free: 7.062 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.6061, allocations: 12 kB / 0.679 GB, free: 7.051 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.6076, allocations: 1.152 MB / 0.6801 GB, free: 5.836 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6079, allocations: 0.7203 MB / 0.6808 GB, free: 5.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.6079, allocations: 12.88 kB / 0.6808 GB, free: 5.078 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.608, allocations: 32.06 kB / 0.6808 GB, free: 5.047 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.608, allocations: 0 / 0.6808 GB, free: 5.047 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.6257, allocations: 4.207 MB / 0.6849 GB, free: 1.039 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.626, allocations: 200.9 kB / 0.6851 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.372, allocations: 0 / 0.6851 GB, free: 0.8008 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)