Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 182.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 86.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.663e-05/4.674e-05, allocations: 3.984 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6942/0.9319, allocations: 132.2 MB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.9321, allocations: 70.34 kB / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.9469, allocations: 4.616 MB / 1.026 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9469, allocations: 7.938 kB / 1.026 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9469, allocations: 4 kB / 1.026 GB, free: 14.42 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001187/0.9481, allocations: 0.6152 MB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9482, allocations: 8.031 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.339e-05/0.9483, allocations: 57.72 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.9484, allocations: 39.8 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.9491, allocations: 324.3 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.9492, allocations: 27.55 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.9493, allocations: 43.67 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.9499, allocations: 328.8 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9499, allocations: 0 / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.9499, allocations: 11.61 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.9499, allocations: 4 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.9502, allocations: 115.9 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.9507, allocations: 495.1 kB / 1.028 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.9511, allocations: 301 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.9514, allocations: 159.5 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.9514, allocations: 3.938 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.9519, allocations: 364.6 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.637e-06/0.952, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0009107/0.9529, allocations: 0.5167 MB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.953, allocations: 206.8 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.9532, allocations: 131.1 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.9533, allocations: 60.5 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.9534, allocations: 99.92 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.9535, allocations: 88.33 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.9535, allocations: 19.75 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9537, allocations: 337.7 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.954, allocations: 215.6 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.9544, allocations: 266 kB / 1.03 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.9549, allocations: 314.4 kB / 1.031 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9549, allocations: 0 / 1.031 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001382/0.9563, allocations: 0.9318 MB / 1.031 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.529e-05/0.9564, allocations: 115.9 kB / 1.032 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.9564, allocations: 5.016 kB / 1.032 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9564, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.9566, allocations: 27.17 kB / 1.032 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9566, allocations: 7.938 kB / 1.032 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.9571, allocations: 130.9 kB / 1.032 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.9572, allocations: 31.61 kB / 1.032 GB, free: 8.648 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.0001707/0.9574, allocations: 166.2 kB / 1.032 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.9574, allocations: 23.81 kB / 1.032 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.9575, allocations: 22.73 kB / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.9575, allocations: 4 kB / 1.032 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.9575, allocations: 4 kB / 1.032 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.9575, allocations: 3.984 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.9579, allocations: 314.1 kB / 1.032 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9579, allocations: 0 / 1.032 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.958, allocations: 19.25 kB / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.958, allocations: 3.984 kB / 1.032 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.958, allocations: 19.34 kB / 1.032 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.958, allocations: 7.938 kB / 1.032 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9581, allocations: 7.938 kB / 1.032 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.9589, allocations: 0.6155 MB / 1.033 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.959, allocations: 88.92 kB / 1.033 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/0.959, allocations: 40.61 kB / 1.033 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.9593, allocations: 27.34 kB / 1.033 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.9594, allocations: 35.33 kB / 1.033 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.9594, allocations: 31.03 kB / 1.033 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.9595, allocations: 104.6 kB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9595, allocations: 0 / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000429/0.9599, allocations: 133.5 kB / 1.033 GB, free: 7.078 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.001363/0.9613, allocations: 1.586 MB / 1.035 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.9625, allocations: 0.9303 MB / 1.036 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.9625, allocations: 7.688 kB / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.9628, allocations: 202.9 kB / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.963, allocations: 19.05 kB / 1.036 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.964, allocations: 437.2 kB / 1.036 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.9643, allocations: 0.7253 MB / 1.037 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.429e-05/0.9644, allocations: 22.06 kB / 1.037 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.9645, allocations: 52.3 kB / 1.037 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/0.9645, allocations: 4 kB / 1.037 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.985, allocations: 6.347 MB / 1.043 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.9853, allocations: 194.2 kB / 1.044 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.773, allocations: 3.938 kB / 1.044 GB, free: 13.2 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)