Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.0008812/0.0008814, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.004772/0.004771, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003081, allocations: 11.98 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5403, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001371/0.5417, allocations: 1.203 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.5428, allocations: 0.7127 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.5428, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.5429, allocations: 3.938 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.5429, allocations: 11.92 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.5437, allocations: 298.9 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.5439, allocations: 163.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.5439, allocations: 15.97 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.544, allocations: 59.83 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.5441, allocations: 59.69 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.5441, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.5444, allocations: 235.8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.5445, allocations: 35.89 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.5445, allocations: 81.41 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.5449, allocations: 301.6 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5449, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5449, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5449, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 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.0004926/0.5454, allocations: 447 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5454, allocations: 12.03 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.5455, allocations: 30.75 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.5455, allocations: 20.84 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.5457, allocations: 212.1 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5457, allocations: 8.359 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.5458, allocations: 12.38 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5459, allocations: 96.7 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5459, allocations: 7.875 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.546, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.546, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.5461, allocations: 47.97 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.5463, allocations: 243.4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.5464, allocations: 107.9 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.5465, allocations: 74.66 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5466, allocations: 3.938 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.5467, allocations: 144.5 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.5467, allocations: 0 / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0003586/0.5471, allocations: 217.4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.5472, allocations: 118.8 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.5473, allocations: 138.7 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.5473, allocations: 37.7 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.5474, allocations: 100.7 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.5474, allocations: 55.3 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.5475, allocations: 33.7 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.5476, allocations: 326.8 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.5477, allocations: 52.25 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.5479, allocations: 181.9 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.5481, allocations: 138.5 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5481, allocations: 0 / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002653/0.5483, allocations: 201.3 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5484, allocations: 9.188 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.5484, allocations: 4 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5484, allocations: 4 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.5485, allocations: 19.86 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5485, allocations: 4 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.5487, allocations: 55.8 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.5487, allocations: 12 kB / 1.029 GB, free: 9.23 MB / 0.7794 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.0001142/0.5489, allocations: 140.1 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.5489, allocations: 15.8 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.5489, allocations: 16.72 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5489, allocations: 4 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5489, allocations: 0 / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5489, allocations: 4 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.5491, allocations: 205.5 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5491, allocations: 0 / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.5492, allocations: 12 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5492, allocations: 0 / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5492, allocations: 11.98 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5492, allocations: 0 / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5492, allocations: 0 / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.5494, allocations: 222.4 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.5495, allocations: 88.95 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5495, allocations: 3.984 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.856e-05/0.5496, allocations: 11.94 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.5496, allocations: 11.98 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5496, allocations: 4 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.5497, allocations: 113.3 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5497, allocations: 4 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003074/0.55, allocations: 99.92 kB / 1.03 GB, free: 8.18 MB / 0.7794 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.0006389/0.5507, allocations: 0.8454 MB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.5509, allocations: 213.3 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.551, allocations: 3.938 kB / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.551, allocations: 51.97 kB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.5512, allocations: 11.94 kB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.5529, allocations: 1.828 MB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.5531, allocations: 0.7201 MB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.5531, allocations: 13.16 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.5532, allocations: 35.36 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5532, allocations: 3.938 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.5665, allocations: 4.241 MB / 1.038 GB, free: 244 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.5667, allocations: 227.7 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.262, allocations: 0 / 1.038 GB, free: 15.98 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)