Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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) 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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001551/0.001551, allocations: 191.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.153/3.153, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.31 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4751, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004514/0.4797, allocations: 1.564 MB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.4814, allocations: 0.6891 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.4816, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.4817, allocations: 7.922 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.4819, allocations: 15.91 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.4834, allocations: 310.3 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.4838, allocations: 171.6 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.294e-05/0.4839, allocations: 4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.484, allocations: 75.81 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.4842, allocations: 47.83 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.4842, allocations: 12 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.4848, allocations: 255.7 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.4849, allocations: 35.89 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.485, allocations: 67.7 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.4857, allocations: 299.6 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-05/0.4858, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4858, allocations: 3.938 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4858, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 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.0009078/0.4867, allocations: 482.8 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.4868, allocations: 12.03 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.4869, allocations: 8.844 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4872, allocations: 213.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.4872, allocations: 12.38 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.4873, allocations: 20.3 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.4875, allocations: 88.8 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4875, allocations: 4.188 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.4876, allocations: 11.94 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4876, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4877, allocations: 43.91 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.4881, allocations: 235.5 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.4883, allocations: 115.9 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4884, allocations: 78.59 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4884, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.4888, allocations: 141.7 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.4888, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0004954/0.4893, allocations: 209.5 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.4894, allocations: 122.7 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4896, allocations: 139.1 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.4897, allocations: 37.7 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.4897, allocations: 100.7 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.4898, allocations: 59.28 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.49, allocations: 61.69 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4901, allocations: 326.8 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.4903, allocations: 56.19 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4905, allocations: 176.5 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4907, allocations: 134.5 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.4908, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003617/0.4911, allocations: 209.2 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4912, allocations: 4 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.4912, allocations: 4 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4912, allocations: 4 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4913, allocations: 11.94 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4914, allocations: 8.938 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.4916, allocations: 47.78 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.4917, allocations: 12 kB / 1.074 GB, free: 3.82 MB / 0.8262 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.0001873/0.4919, allocations: 132.2 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.4919, allocations: 15.75 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.492, allocations: 20.7 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.492, allocations: 7.938 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.492, allocations: 7.938 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.492, allocations: 0 / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.4922, allocations: 209.5 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4923, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.4923, allocations: 12 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4923, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4923, allocations: 4 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4924, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4924, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.4927, allocations: 226.4 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.4928, allocations: 88.92 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.4928, allocations: 0 / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.4929, allocations: 11.92 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.493, allocations: 11.98 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.493, allocations: 4 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.401e-05/0.4931, allocations: 104.8 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4931, allocations: 4 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005/0.4936, allocations: 103.9 kB / 1.075 GB, free: 2.773 MB / 0.8262 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.000483/0.4941, allocations: 199.1 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.4945, allocations: 228.9 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4945, allocations: 0 / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4946, allocations: 55.92 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4949, allocations: 8 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.4955, allocations: 276.8 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.4959, allocations: 0.7164 MB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.847e-05/0.496, allocations: 12.88 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.496, allocations: 15.44 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/0.496, allocations: 0 / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.008045/0.5041, allocations: 3.046 MB / 1.08 GB, free: 14.19 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)