Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.035/5.035, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002379/0.002379, allocations: 360.3 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.174/4.174, allocations: 410.7 MB / 1.112 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.001771, allocations: 182.1 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004987, allocations: 12 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6101/0.6106, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001358/0.612, allocations: 1.199 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.613, allocations: 0.6158 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.6131, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.86e-05/0.6132, allocations: 7.922 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.6133, allocations: 7.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.6142, allocations: 284.4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.6143, allocations: 144.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.6144, allocations: 5.266 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.6145, allocations: 65.69 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.6146, allocations: 51.81 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.6146, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.615, allocations: 215.7 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.6151, allocations: 28.98 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.6151, allocations: 53.56 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.6154, allocations: 206.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.822e-06/0.6154, allocations: 4 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.892e-06/0.6154, allocations: 1.281 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.579e-06/0.6155, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 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.0004975/0.616, allocations: 444 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.616, allocations: 24.73 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.6161, allocations: 11.91 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.6163, allocations: 210.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.6163, allocations: 4.75 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.6164, allocations: 12.66 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.6166, allocations: 102.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6166, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6166, allocations: 5.875 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-06/0.6166, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.6168, allocations: 51.84 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.617, allocations: 257.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.6172, allocations: 106.1 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.6173, allocations: 74.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.6173, allocations: 8.328 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.6175, allocations: 133.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 2.493e-06/0.6176, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0004667/0.618, allocations: 218 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6181, allocations: 115.4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6182, allocations: 138.7 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.6183, allocations: 40.55 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.6183, allocations: 96.69 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.6184, allocations: 63.19 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.6184, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.6185, allocations: 326.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.6186, allocations: 52.25 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.6188, allocations: 179.5 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.619, allocations: 65.94 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-06/0.619, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003491/0.6194, allocations: 192.2 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6194, allocations: 7.938 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.6194, allocations: 8.484 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6194, allocations: 4.5 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.6196, allocations: 12 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.536e-06/0.6196, allocations: 6.125 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.6199, allocations: 52.42 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.6199, allocations: 8 kB / 1.466 GB, free: 278.3 MB / 0.8542 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.0001178/0.62, allocations: 145.6 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.6201, allocations: 7.906 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.6201, allocations: 13.25 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6201, allocations: 5.625 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.6201, allocations: 3.984 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-06/0.6202, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.6203, allocations: 205.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6203, allocations: 4.688 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.6204, allocations: 19.92 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-06/0.6204, allocations: 0.9688 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6204, allocations: 8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.893e-06/0.6205, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-06/0.6205, allocations: 1.031 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.6208, allocations: 218.3 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.6208, allocations: 92.91 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.6209, allocations: 4.812 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.621, allocations: 8 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.621, allocations: 12.8 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.621, allocations: 14.61 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.032e-05/0.6211, allocations: 99.27 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.91e-07/0.6211, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004485/0.6216, allocations: 107.9 kB / 1.467 GB, free: 277.2 MB / 0.8542 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.0003089/0.6219, allocations: 199.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.6223, allocations: 215 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.802e-06/0.6223, allocations: 0 / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.6224, allocations: 55.92 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.6226, allocations: 17.12 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.6231, allocations: 270.8 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.6233, allocations: 0.7226 MB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.506e-05/0.6234, allocations: 8.891 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.6234, allocations: 11.44 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.768e-06/0.6234, allocations: 2.812 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.006778/0.6302, allocations: 2.871 MB / 1.472 GB, free: 273 MB / 0.8542 GB