Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009081, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.282/1.282, allocations: 143.4 MB / 434.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002108/0.2647, allocations: 1.182 MB / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2659, allocations: 0.6508 MB / 0.5993 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.2659, allocations: 0 / 0.5993 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.266, allocations: 3.938 kB / 0.5993 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.2661, allocations: 11.92 kB / 0.5993 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.267, allocations: 282.8 kB / 0.5996 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.2673, allocations: 135.7 kB / 0.5997 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.2674, allocations: 7.984 kB / 0.5998 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2676, allocations: 71.83 kB / 0.5998 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2677, allocations: 51.75 kB / 0.5999 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.2677, allocations: 8 kB / 0.5999 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.2682, allocations: 219.8 kB / 0.6001 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.2682, allocations: 31.89 kB / 0.6001 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.2683, allocations: 45.64 kB / 0.6002 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.2687, allocations: 215.8 kB / 0.6004 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2687, allocations: 0 / 0.6004 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2687, allocations: 0 / 0.6004 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2687, allocations: 4 kB / 0.6004 GB, free: 4.801 MB / 0.4981 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.0007173/0.2694, allocations: 450.9 kB / 0.6008 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.2695, allocations: 16.02 kB / 0.6008 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.2696, allocations: 30.56 kB / 0.6008 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.2696, allocations: 15.81 kB / 0.6009 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2699, allocations: 214.9 kB / 0.6011 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2699, allocations: 11.94 kB / 0.6011 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.27, allocations: 15.94 kB / 0.6011 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.2702, allocations: 104.1 kB / 0.6012 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2702, allocations: 0 / 0.6012 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2702, allocations: 0 / 0.6012 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2703, allocations: 0 / 0.6012 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.2704, allocations: 47.91 kB / 0.6012 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.2707, allocations: 251.4 kB / 0.6015 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2709, allocations: 107.9 kB / 0.6016 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.271, allocations: 70.66 kB / 0.6016 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2711, allocations: 4 kB / 0.6017 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.2714, allocations: 134.3 kB / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.2714, allocations: 4 kB / 0.6018 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0005419/0.272, allocations: 205.5 kB / 0.602 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.2721, allocations: 118.8 kB / 0.6021 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2723, allocations: 151.7 kB / 0.6022 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/0.2724, allocations: 37.7 kB / 0.6023 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.2725, allocations: 96.69 kB / 0.6024 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.2726, allocations: 55.34 kB / 0.6024 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.2726, allocations: 0 / 0.6024 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002462/0.2728, allocations: 330.8 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.2729, allocations: 56.25 kB / 0.6028 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.2732, allocations: 177 kB / 0.603 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.2734, allocations: 71.97 kB / 0.603 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2734, allocations: 4 kB / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003099/0.2737, allocations: 193.3 kB / 0.6032 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2737, allocations: 8 kB / 0.6032 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.2738, allocations: 8 kB / 0.6032 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2738, allocations: 0 / 0.6032 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.2739, allocations: 19.92 kB / 0.6032 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2739, allocations: 0.9375 kB / 0.6032 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.2742, allocations: 63.73 kB / 0.6033 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.2742, allocations: 8 kB / 0.6033 GB, free: 1.445 MB / 0.4981 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 () * 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.0001688/0.2744, allocations: 144.2 kB / 0.6035 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.2744, allocations: 11.81 kB / 0.6035 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.2744, allocations: 16.72 kB / 0.6035 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2745, allocations: 0 / 0.6035 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2745, allocations: 3.938 kB / 0.6035 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2745, allocations: 8 kB / 0.6035 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.2747, allocations: 209.5 kB / 0.6037 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2747, allocations: 0 / 0.6037 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.2748, allocations: 8 kB / 0.6037 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2748, allocations: 4 kB / 0.6037 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2748, allocations: 7.984 kB / 0.6037 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2748, allocations: 0 / 0.6037 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2748, allocations: 4 kB / 0.6037 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.2751, allocations: 214.6 kB / 0.6039 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.2752, allocations: 92.94 kB / 0.604 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.2753, allocations: 7.938 kB / 0.604 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.2753, allocations: 8 kB / 0.604 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.2754, allocations: 7.984 kB / 0.604 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2754, allocations: 4 kB / 0.604 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001194/0.2755, allocations: 109 kB / 0.6041 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2756, allocations: 4 kB / 0.6041 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003739/0.2759, allocations: 95.98 kB / 0.6042 GB, free: 416 kB / 0.4981 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) * 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.4193/0.6952, allocations: 0.8501 MB / 0.6051 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007388/0.6961, allocations: 213.9 kB / 0.6053 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6961, allocations: 1.062 kB / 0.6053 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.6962, allocations: 57.81 kB / 0.6053 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.6965, allocations: 7.906 kB / 0.6053 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.6982, allocations: 0.8482 MB / 0.6062 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.6985, allocations: 0.7117 MB / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.6986, allocations: 13.62 kB / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.6987, allocations: 33.41 kB / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/0.6987, allocations: 0 / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.7174, allocations: 4.335 MB / 0.6111 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.7176, allocations: 226.2 kB / 0.6113 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.928, allocations: 2.406 kB / 0.6114 GB, free: 38.62 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: