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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 195.8 kB / 16.53 MB, free: 6.656 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.253/3.253, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.61 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4951, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004585/0.4997, allocations: 1.491 MB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.5015, allocations: 0.6813 MB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.5017, allocations: 8 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.5019, allocations: 7.922 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.502, allocations: 15.86 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.5036, allocations: 349.5 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.504, allocations: 167.6 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.5041, allocations: 4 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.5043, allocations: 75.83 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5044, allocations: 47.83 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.5045, allocations: 12 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.505, allocations: 251.6 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.5051, allocations: 43.89 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.5053, allocations: 59.7 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.5059, allocations: 303.6 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5059, allocations: 0 / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5059, allocations: 0 / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.506, allocations: 4 kB / 1.072 GB, free: 6.91 MB / 0.8262 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.0009333/0.5069, allocations: 478.9 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.507, allocations: 8.031 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.507, allocations: 12.84 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.5073, allocations: 213.5 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5074, allocations: 12.31 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.5074, allocations: 8.375 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.5076, allocations: 100.8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5077, allocations: 192 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5077, allocations: 3.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5077, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5078, allocations: 51.91 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.5082, allocations: 243.4 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.5084, allocations: 111.8 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.5085, allocations: 70.7 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.5086, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.5089, allocations: 146.3 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.509, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0005109/0.5095, allocations: 210.2 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5096, allocations: 122.7 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.5098, allocations: 139 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.5098, allocations: 37.69 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.5099, allocations: 100.7 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.51, allocations: 55.28 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.5101, allocations: 65.62 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5103, allocations: 330.8 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.5104, allocations: 48.27 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.5107, allocations: 184.5 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.5109, allocations: 126.5 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5109, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003624/0.5113, allocations: 213.1 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5113, allocations: 8 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.5113, allocations: 4 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5114, allocations: 0 / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5115, allocations: 27.86 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5115, allocations: 0 / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.5117, allocations: 47.8 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.5118, allocations: 4.141 kB / 1.075 GB, free: 3.453 MB / 0.8262 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.0001654/0.5119, allocations: 145.8 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.512, allocations: 15.75 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.512, allocations: 16.66 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.512, allocations: 4 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.512, allocations: 0 / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5121, allocations: 4 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.5123, allocations: 213.5 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5123, allocations: 4 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.5123, allocations: 8 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5123, allocations: 3.984 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5124, allocations: 4 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5124, allocations: 240 / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5124, allocations: 4 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.5127, allocations: 219.4 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.5128, allocations: 92.91 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.5128, allocations: 8 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.5128, allocations: 7.938 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.5129, allocations: 11.98 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.5129, allocations: 8 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.513, allocations: 108.8 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.513, allocations: 0 / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000433/0.5135, allocations: 103.9 kB / 1.076 GB, free: 2.391 MB / 0.8262 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.0004147/0.5139, allocations: 195.7 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.5143, allocations: 223.2 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5144, allocations: 4 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5145, allocations: 51.92 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5147, allocations: 17.97 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.5153, allocations: 252.7 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.5157, allocations: 0.7048 MB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.5157, allocations: 16.86 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.5158, allocations: 19.44 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.5158, allocations: 0 / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of Templates: time 0.00811/0.5239, allocations: 3.092 MB / 1.08 GB, free: 13.79 MB / 0.8419 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