Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_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.001546/0.001546, allocations: 111.5 kB / 16.42 MB, free: 6.52 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.001606/0.001606, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.525/1.525, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 71.88 kB / 1.07 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216/1.218, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003629/1.222, allocations: 1.473 MB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001394/1.223, allocations: 0.6928 MB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/1.223, allocations: 0 / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/1.223, allocations: 15.86 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/1.223, allocations: 11.86 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/1.225, allocations: 353.7 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/1.225, allocations: 171.6 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/1.225, allocations: 8 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/1.225, allocations: 71.81 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/1.226, allocations: 47.83 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/1.226, allocations: 12 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/1.226, allocations: 251.8 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/1.226, allocations: 39.89 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/1.226, allocations: 63.7 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/1.227, allocations: 307.6 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.227, allocations: 0 / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.434e-06/1.227, allocations: 0 / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.227, allocations: 0 / 1.23 GB, free: 10.04 MB / 0.9512 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.0009111/1.228, allocations: 482.5 kB / 1.23 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.228, allocations: 12.03 kB / 1.23 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/1.228, allocations: 12.89 kB / 1.23 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/1.228, allocations: 212.2 kB / 1.23 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/1.229, allocations: 12.36 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/1.229, allocations: 12.31 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/1.229, allocations: 102.2 kB / 1.231 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.229, allocations: 4.188 kB / 1.231 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.229, allocations: 7.938 kB / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.229, allocations: 0 / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/1.229, allocations: 51.91 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/1.229, allocations: 243.4 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/1.229, allocations: 111.8 kB / 1.231 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/1.23, allocations: 74.7 kB / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/1.23, allocations: 0 / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/1.23, allocations: 133.8 kB / 1.231 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/1.23, allocations: 8 kB / 1.231 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.0004657/1.23, allocations: 209.5 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.231, allocations: 118.8 kB / 1.231 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.231, allocations: 143.9 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/1.231, allocations: 37.7 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/1.231, allocations: 100.7 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/1.231, allocations: 60.7 kB / 1.232 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/1.231, allocations: 57.69 kB / 1.232 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.231, allocations: 330.8 kB / 1.232 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/1.231, allocations: 60.19 kB / 1.232 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/1.231, allocations: 173 kB / 1.232 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/1.232, allocations: 142.5 kB / 1.233 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.232, allocations: 0 / 1.233 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002877/1.232, allocations: 205.3 kB / 1.233 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.232, allocations: 4 kB / 1.233 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/1.232, allocations: 4 kB / 1.233 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.232, allocations: 4 kB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/1.232, allocations: 12 kB / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.232, allocations: 7.984 kB / 1.233 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/1.232, allocations: 49.67 kB / 1.233 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/1.232, allocations: 12 kB / 1.233 GB, free: 6.559 MB / 0.9512 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.0001648/1.233, allocations: 140.7 kB / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/1.233, allocations: 19.84 kB / 1.233 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/1.233, allocations: 12.7 kB / 1.233 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.233, allocations: 7.938 kB / 1.233 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.233, allocations: 0 / 1.233 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/1.233, allocations: 89.02 kB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/1.233, allocations: 8 kB / 1.233 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/1.233, allocations: 7.984 kB / 1.233 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/1.233, allocations: 15.92 kB / 1.233 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003984/1.233, allocations: 411.3 kB / 1.233 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004054/1.234, allocations: 0.4918 MB / 1.234 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.739e-05/1.234, allocations: 55.91 kB / 1.234 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.058e-05/1.234, allocations: 105.1 kB / 1.234 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of Backend: time 6.01e-07/1.234, allocations: 0 / 1.234 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009732/1.235, allocations: 351.1 kB / 1.234 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006257/1.236, allocations: 0.6434 MB / 1.235 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of Templates: time 0.00747/1.243, allocations: 3.203 MB / 1.238 GB, free: 0.9297 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches