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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01231/0.01231, allocations: 102.3 kB / 15.73 MB, free: 5.902 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.002512/0.002512, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.186/3.186, allocations: 461.8 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.001601, allocations: 63.89 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5005, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004208/0.5048, allocations: 1.48 MB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.5064, allocations: 0.6967 MB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.5065, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.5067, allocations: 11.88 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.5068, allocations: 11.86 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.5084, allocations: 351.8 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.5088, allocations: 175.6 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.5088, allocations: 11.97 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.509, allocations: 67.84 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.5091, allocations: 51.81 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.5092, allocations: 12 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.5097, allocations: 255.7 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.5098, allocations: 31.91 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.51, allocations: 71.7 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.5106, allocations: 295.3 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5106, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5106, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.5106, allocations: 0 / 1.211 GB, free: 6.164 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.0008474/0.5115, allocations: 494.7 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5115, allocations: 8.625 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.5116, allocations: 12.84 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.5119, allocations: 213.7 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.512, allocations: 8.375 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.512, allocations: 8.375 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.5122, allocations: 97.23 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5123, allocations: 4.188 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.5123, allocations: 3.938 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5123, allocations: 3.938 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.5124, allocations: 51.91 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.5128, allocations: 247.4 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.5129, allocations: 107.8 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.5131, allocations: 74.69 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.5131, allocations: 4 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.5134, allocations: 137.8 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.5134, allocations: 4 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0004336/0.5138, allocations: 205.5 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.5139, allocations: 122.8 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5141, allocations: 139.1 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.5141, allocations: 45.69 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.5142, allocations: 96.64 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.5143, allocations: 47.36 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.5144, allocations: 69.62 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5146, allocations: 326.8 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.5146, allocations: 48.27 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.5149, allocations: 184.4 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.5151, allocations: 130.5 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5151, allocations: 4 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002956/0.5154, allocations: 205.2 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5154, allocations: 4 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.5154, allocations: 4 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5155, allocations: 4 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.5156, allocations: 11.98 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5156, allocations: 4 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.5158, allocations: 43.8 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.5158, allocations: 8 kB / 1.214 GB, free: 2.707 MB / 0.9669 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.000132/0.5159, allocations: 144 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.516, allocations: 19.75 kB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.516, allocations: 12.72 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.516, allocations: 7.938 kB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.516, allocations: 0 / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.516, allocations: 0 / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5162, allocations: 213.4 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5162, allocations: 8 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.5163, allocations: 15.94 kB / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5163, allocations: 0 / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5163, allocations: 7.984 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5163, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5163, allocations: 0.9375 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.5166, allocations: 208.8 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.5167, allocations: 96.89 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5167, allocations: 12 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.5168, allocations: 3.938 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.5168, allocations: 19.92 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.5168, allocations: 4 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.5169, allocations: 108.8 kB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5169, allocations: 0 / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003676/0.5173, allocations: 99.92 kB / 1.215 GB, free: 1.645 MB / 0.9669 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.000332/0.5176, allocations: 199.4 kB / 1.215 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.518, allocations: 221 kB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.518, allocations: 0 / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.5181, allocations: 63.84 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.5183, allocations: 9.031 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.5187, allocations: 248.7 kB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.519, allocations: 0.7123 MB / 1.216 GB, free: 124 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.5191, allocations: 12.88 kB / 1.216 GB, free: 108 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.5191, allocations: 15.44 kB / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.5191, allocations: 0 / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of Templates: time 0.00778/0.5269, allocations: 3.14 MB / 1.22 GB, free: 12.99 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches