Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 107 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 195.6 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.015/3.015, allocations: 476.7 MB / 0.7611 GB, free: 11.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 67.89 kB / 1.104 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9483/0.9511, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002899/0.954, allocations: 1.475 MB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.9553, allocations: 0.706 MB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.9554, allocations: 4 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.9555, allocations: 11.86 kB / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.9555, allocations: 11.88 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.9566, allocations: 342.9 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.9569, allocations: 179.6 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.9569, allocations: 8 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.957, allocations: 67.89 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.9571, allocations: 51.75 kB / 1.271 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.9572, allocations: 12 kB / 1.272 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.9576, allocations: 255.7 kB / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.9576, allocations: 35.91 kB / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.9577, allocations: 63.7 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.9582, allocations: 304.9 kB / 1.272 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9582, allocations: 0 / 1.272 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9582, allocations: 4 kB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.9582, allocations: 0 / 1.272 GB, free: 1.668 MB / 0.9669 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.0007465/0.9589, allocations: 482.4 kB / 1.273 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.959, allocations: 12.03 kB / 1.273 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.959, allocations: 30.75 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.9591, allocations: 12.89 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.9594, allocations: 214.2 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.9594, allocations: 4.375 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.9594, allocations: 20.36 kB / 1.273 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.9596, allocations: 100.7 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.9596, allocations: 3.938 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.9597, allocations: 7.938 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.9597, allocations: 4 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.9598, allocations: 47.84 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.9601, allocations: 251.4 kB / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.9603, allocations: 99.86 kB / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.9604, allocations: 66.66 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.9604, allocations: 8 kB / 1.273 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.9607, allocations: 137.8 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.9607, allocations: 0 / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004506/0.9612, allocations: 214.2 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.9613, allocations: 114.8 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.9614, allocations: 147.6 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.9615, allocations: 37.7 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.9615, allocations: 96.69 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.9616, allocations: 63.52 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.9617, allocations: 65.62 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9619, allocations: 326.8 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.962, allocations: 52.25 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.9623, allocations: 181 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.9625, allocations: 130.5 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9625, allocations: 4 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003156/0.9628, allocations: 197.3 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9628, allocations: 12 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.9628, allocations: 4 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9628, allocations: 0 / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.963, allocations: 19.94 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.963, allocations: 0 / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.9632, allocations: 54.95 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.9632, allocations: 4 kB / 1.275 GB, free: 14.16 MB / 0.9825 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.0001451/0.9633, allocations: 148.7 kB / 1.275 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.9634, allocations: 11.91 kB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.9634, allocations: 16.7 kB / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9634, allocations: 0 / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9634, allocations: 4 kB / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9634, allocations: 0 / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.9636, allocations: 213.4 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9636, allocations: 0 / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.9637, allocations: 11.94 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9637, allocations: 4 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.9637, allocations: 4 kB / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9637, allocations: 8 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9637, allocations: 0 / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.964, allocations: 214.5 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.964, allocations: 93.02 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.964, allocations: 0 / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.9641, allocations: 15.92 kB / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.9642, allocations: 11.98 kB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.9642, allocations: 8 kB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.806e-05/0.9642, allocations: 105 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9642, allocations: 0 / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003657/0.9646, allocations: 107.7 kB / 1.276 GB, free: 13.1 MB / 0.9825 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.0008133/0.9654, allocations: 0.8463 MB / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.9658, allocations: 209 kB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9658, allocations: 0 / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.9659, allocations: 47.92 kB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.9661, allocations: 15.92 kB / 1.277 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.9684, allocations: 1.824 MB / 1.279 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.9687, allocations: 0.7123 MB / 1.28 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.9688, allocations: 16.83 kB / 1.28 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.9689, allocations: 35.42 kB / 1.28 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.9689, allocations: 0 / 1.28 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.9983, allocations: 4.646 MB / 1.284 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/9.608, allocations: 6.359 kB / 1.284 GB, free: 4.742 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.296850124839693]