Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_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.0008622/0.0008621, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005314/0.005314, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.535, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001131/0.5361, allocations: 1.195 MB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000874/0.537, allocations: 0.7082 MB / 0.957 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.5371, allocations: 4.875 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.5371, allocations: 5.078 kB / 0.957 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.5372, allocations: 14.77 kB / 0.9571 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.5379, allocations: 282.8 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.5381, allocations: 162.7 kB / 0.9575 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.5381, allocations: 9.375 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.5382, allocations: 69.92 kB / 0.9576 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.5383, allocations: 52.56 kB / 0.9576 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.5383, allocations: 6.875 kB / 0.9576 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.5386, allocations: 238.7 kB / 0.9578 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.5386, allocations: 30.12 kB / 0.9579 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.5387, allocations: 87.69 kB / 0.9579 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.539, allocations: 290.1 kB / 0.9582 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.539, allocations: 1.375 kB / 0.9582 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.539, allocations: 0 / 0.9582 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.539, allocations: 0 / 0.9582 GB, free: 5.434 MB / 0.7169 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.0004106/0.5394, allocations: 445.7 kB / 0.9587 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5395, allocations: 13.02 kB / 0.9587 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.5395, allocations: 42.47 kB / 0.9587 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.5396, allocations: 18.16 kB / 0.9587 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.5397, allocations: 205.6 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5397, allocations: 9.781 kB / 0.9589 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5397, allocations: 8.5 kB / 0.9589 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5399, allocations: 98.86 kB / 0.959 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.5399, allocations: 3.938 kB / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5399, allocations: 5.359 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5399, allocations: 1.375 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.54, allocations: 50.05 kB / 0.9591 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.5402, allocations: 252 kB / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.5403, allocations: 115.6 kB / 0.9594 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.5404, allocations: 70.3 kB / 0.9595 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.5404, allocations: 5.359 kB / 0.9595 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.5405, allocations: 140.3 kB / 0.9596 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.5405, allocations: 0 / 0.9596 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0003131/0.5408, allocations: 220.8 kB / 0.9599 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.5409, allocations: 113.7 kB / 0.96 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.541, allocations: 144 kB / 0.9601 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.541, allocations: 39.2 kB / 0.9601 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.541, allocations: 92.83 kB / 0.9602 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.5411, allocations: 55.53 kB / 0.9603 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.5411, allocations: 35.33 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.5412, allocations: 323 kB / 0.9606 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.5412, allocations: 57.31 kB / 0.9607 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.5414, allocations: 186.6 kB / 0.9609 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.5416, allocations: 140.6 kB / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5416, allocations: 0 / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002525/0.5418, allocations: 205.1 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5419, allocations: 7.312 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.5419, allocations: 4.062 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5419, allocations: 2.031 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.542, allocations: 9.969 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.542, allocations: 2.031 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5422, allocations: 62.88 kB / 0.9613 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5422, allocations: 6.125 kB / 0.9613 GB, free: 2.719 MB / 0.7169 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 8.237e-05/0.5423, allocations: 142.4 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.5423, allocations: 13.06 kB / 0.9614 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.5424, allocations: 19.77 kB / 0.9614 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5424, allocations: 2.031 kB / 0.9614 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5424, allocations: 0.7188 kB / 0.9614 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5424, allocations: 8.656 kB / 0.9615 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.5425, allocations: 206 kB / 0.9616 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5425, allocations: 0.875 kB / 0.9616 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.5426, allocations: 12.75 kB / 0.9617 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5426, allocations: 1.141 kB / 0.9617 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.5426, allocations: 3 kB / 0.9617 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5426, allocations: 0.9688 kB / 0.9617 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5426, allocations: 1.031 kB / 0.9617 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.5428, allocations: 219.9 kB / 0.9619 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.5428, allocations: 88.86 kB / 0.962 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.5429, allocations: 6.719 kB / 0.962 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.5429, allocations: 12.11 kB / 0.962 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.543, allocations: 17.23 kB / 0.962 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.543, allocations: 4.438 kB / 0.962 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.543, allocations: 106.9 kB / 0.9621 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.543, allocations: 0 / 0.9621 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003159/0.5433, allocations: 102.2 kB / 0.9622 GB, free: 1.934 MB / 0.7169 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.0005027/0.5439, allocations: 0.8394 MB / 0.963 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.5441, allocations: 219.4 kB / 0.9632 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5441, allocations: 0 / 0.9632 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.5442, allocations: 64.56 kB / 0.9633 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.5444, allocations: 16.42 kB / 0.9633 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.5458, allocations: 1.84 MB / 0.9651 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.546, allocations: 0.709 MB / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.546, allocations: 12.91 kB / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.5461, allocations: 33.42 kB / 0.9658 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.5461, allocations: 0.9688 kB / 0.9658 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9463/1.492, allocations: 4.252 MB / 0.97 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/1.493, allocations: 230.4 kB / 0.9702 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/3.561, allocations: 5.906 kB / 0.9702 GB, free: 12.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)