Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 114 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 186.7 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.073/3.073, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365/1.368, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003142/1.371, allocations: 1.501 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001256/1.372, allocations: 0.7039 MB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/1.372, allocations: 4.781 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/1.372, allocations: 12.78 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/1.372, allocations: 12.67 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/1.373, allocations: 341.8 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/1.374, allocations: 169.5 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/1.374, allocations: 5.062 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/1.374, allocations: 68.64 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/1.374, allocations: 59.33 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/1.374, allocations: 11.84 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/1.374, allocations: 255.4 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/1.375, allocations: 37.62 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/1.375, allocations: 58.66 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/1.375, allocations: 304.3 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.375, allocations: 0 / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.023e-06/1.375, allocations: 1.094 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.375, allocations: 0 / 1.275 GB, free: 5.695 MB / 0.9981 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.0006816/1.376, allocations: 488.3 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.376, allocations: 12.22 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/1.376, allocations: 37.28 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/1.376, allocations: 11.55 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/1.376, allocations: 213.4 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.376, allocations: 9.625 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/1.376, allocations: 8.344 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/1.377, allocations: 102.7 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.377, allocations: 5.5 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.377, allocations: 1.219 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.377, allocations: 1.188 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/1.377, allocations: 54.12 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/1.377, allocations: 246 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/1.377, allocations: 111.8 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.377, allocations: 61 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.377, allocations: 0.9375 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/1.378, allocations: 141.3 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/1.378, allocations: 0 / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0004802/1.378, allocations: 213.4 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/1.378, allocations: 117.6 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.378, allocations: 136.6 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/1.378, allocations: 39.08 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/1.378, allocations: 98.84 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/1.378, allocations: 64.92 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.378, allocations: 69.2 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/1.379, allocations: 322.4 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/1.379, allocations: 52.02 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/1.379, allocations: 181.7 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/1.379, allocations: 129.9 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.379, allocations: 0 / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003362/1.379, allocations: 212.5 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.379, allocations: 5.562 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/1.379, allocations: 5.188 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.379, allocations: 1.938 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.38, allocations: 16.33 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.38, allocations: 5.375 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/1.38, allocations: 50.12 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/1.38, allocations: 10.28 kB / 1.278 GB, free: 3.18 MB / 0.9981 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.38, allocations: 136.6 kB / 1.278 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/1.38, allocations: 13.12 kB / 1.278 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/1.38, allocations: 21.78 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.38, allocations: 5.812 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.38, allocations: 1.672 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.38, allocations: 6.547 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/1.38, allocations: 212.5 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.38, allocations: 1.031 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/1.38, allocations: 12.47 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.38, allocations: 1.906 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.38, allocations: 3.203 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.38, allocations: 1.844 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.38, allocations: 0.9062 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/1.381, allocations: 219.7 kB / 1.279 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/1.381, allocations: 92.11 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/1.381, allocations: 1.719 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/1.381, allocations: 8.094 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/1.381, allocations: 12.23 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/1.381, allocations: 12.92 kB / 1.279 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.475e-05/1.381, allocations: 112.3 kB / 1.279 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.381, allocations: 0.875 kB / 1.279 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004657/1.381, allocations: 105.4 kB / 1.279 GB, free: 2.43 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007435/1.382, allocations: 0.8465 MB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003437/1.382, allocations: 206.6 kB / 1.28 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.382, allocations: 0 / 1.28 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/1.382, allocations: 45.06 kB / 1.28 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/1.383, allocations: 12.36 kB / 1.28 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/1.385, allocations: 1.835 MB / 1.282 GB, free: 168 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/1.385, allocations: 0.7057 MB / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.431e-05/1.385, allocations: 15.67 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/1.385, allocations: 33.86 kB / 1.283 GB, free: 15.44 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.385, allocations: 4 kB / 1.283 GB, free: 15.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/1.417, allocations: 4.617 MB / 1.287 GB, free: 14.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/9.689, allocations: 10.55 kB / 1.287 GB, free: 14.77 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.83775755800889] Failed to read output from testmodel.py, exit status != 0: 9.763231495016953 9.785088595 8.405500276 Calling exit ...