Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001463/0.001463, allocations: 194 kB / 16.14 MB, free: 6.688 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.122/3.122, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 60.95 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5088, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004333/0.5132, allocations: 1.549 MB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.5151, allocations: 0.7283 MB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.5152, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.5154, allocations: 11.92 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.5156, allocations: 7.938 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.517, allocations: 290.8 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.5174, allocations: 159.7 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.5175, allocations: 11.94 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.5176, allocations: 59.78 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.5178, allocations: 55.75 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.5178, allocations: 8 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.5184, allocations: 239.8 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.5185, allocations: 31.89 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.5186, allocations: 55.77 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.5193, allocations: 299.6 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5194, allocations: 3.938 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5194, allocations: 4 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.5194, allocations: 0 / 1.071 GB, free: 7.438 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.0009041/0.5203, allocations: 474.8 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.5203, allocations: 11.97 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.5204, allocations: 20.83 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.5208, allocations: 212 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.5208, allocations: 4.375 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.5208, allocations: 12.38 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.5211, allocations: 104.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5211, allocations: 192 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.5211, allocations: 3.938 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5212, allocations: 4 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.5213, allocations: 43.91 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.5216, allocations: 243.5 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.5218, allocations: 107.8 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.5219, allocations: 70.7 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.522, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.5224, allocations: 148.5 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.5224, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0005142/0.5229, allocations: 209.4 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.523, allocations: 122.8 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.5232, allocations: 139.3 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.5232, allocations: 37.7 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.5233, allocations: 96.69 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.5234, allocations: 55.3 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5235, allocations: 65.69 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5237, allocations: 330.8 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.5238, allocations: 48.25 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.5241, allocations: 183.9 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.5243, allocations: 134.5 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.5243, allocations: 8 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003839/0.5247, allocations: 205.2 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5247, allocations: 5.406 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.5248, allocations: 4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5248, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5249, allocations: 15.98 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.5249, allocations: 4 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5252, allocations: 51.88 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.5252, allocations: 8 kB / 1.074 GB, free: 3.98 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.0001621/0.5254, allocations: 136.1 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.5254, allocations: 19.73 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.5255, allocations: 16.72 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5255, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5255, allocations: 8 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5255, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.5257, allocations: 209.5 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5258, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.5258, allocations: 11.94 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5258, allocations: 4 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5259, allocations: 7.984 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5259, allocations: 4 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5259, allocations: 0 / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.5262, allocations: 211.4 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.5263, allocations: 92.92 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.5263, allocations: 3.984 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.5264, allocations: 15.88 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5265, allocations: 7.984 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.5265, allocations: 4 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.637e-05/0.5266, allocations: 113.3 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5266, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004723/0.5271, allocations: 107.9 kB / 1.075 GB, free: 2.926 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.0004658/0.5275, allocations: 195.1 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.528, allocations: 217.3 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.528, allocations: 4 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.5281, allocations: 51.92 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.5283, allocations: 11.94 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.5291, allocations: 282.9 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.5295, allocations: 0.7126 MB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.5296, allocations: 12.88 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.5297, allocations: 19.42 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.5297, allocations: 0 / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of Templates: time 0.00851/0.5382, allocations: 2.952 MB / 1.079 GB, free: 14.43 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)