Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 100.1 kB / 15.88 MB, free: 4 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.002063/0.002063, allocations: 200.4 kB / 16.8 MB, free: 6.82 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.587/1.587, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.105/3.105, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.19 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.403, allocations: 157.4 MB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003629/0.4067, allocations: 1.54 MB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.4082, allocations: 0.7281 MB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.4083, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.4085, allocations: 11.92 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.4086, allocations: 7.922 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4097, allocations: 294.4 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.4099, allocations: 159.7 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.41, allocations: 7.984 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.4101, allocations: 67.77 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.4102, allocations: 43.83 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.4103, allocations: 8 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.4108, allocations: 235.8 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.4109, allocations: 35.89 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.411, allocations: 59.72 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.4114, allocations: 207.8 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4114, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4114, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4114, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 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.0008165/0.4122, allocations: 490.8 kB / 1.057 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4123, allocations: 11.97 kB / 1.057 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.4124, allocations: 16.75 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.4127, allocations: 208.1 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4127, allocations: 12.38 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.4127, allocations: 8.375 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.413, allocations: 100.7 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.413, allocations: 192 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.413, allocations: 3.938 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.413, allocations: 3.938 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.4132, allocations: 47.97 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.4135, allocations: 255.2 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.4137, allocations: 107.8 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.4138, allocations: 74.69 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4138, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.4141, allocations: 137.8 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/0.4141, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0004965/0.4146, allocations: 213.4 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4148, allocations: 122.8 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4149, allocations: 140.8 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.415, allocations: 41.69 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.4151, allocations: 92.7 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.4151, allocations: 55.2 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4152, allocations: 69.62 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4154, allocations: 326.8 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.4155, allocations: 48.27 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4158, allocations: 188.5 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.416, allocations: 126.6 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.416, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003384/0.4163, allocations: 218 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4164, allocations: 8 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.4164, allocations: 4 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4164, allocations: 0 / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4166, allocations: 15.98 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4166, allocations: 0 / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.4168, allocations: 51.8 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.4168, allocations: 4 kB / 1.059 GB, free: 1.496 MB / 0.8106 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.0001485/0.417, allocations: 148 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.417, allocations: 11.84 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.4171, allocations: 16.72 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4171, allocations: 0 / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4171, allocations: 0 / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4171, allocations: 4 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.4173, allocations: 213.4 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4173, allocations: 0 / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.4174, allocations: 11.98 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.4174, allocations: 4 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4174, allocations: 7.938 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4174, allocations: 0 / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4174, allocations: 4 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.4178, allocations: 212.8 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.4178, allocations: 100.9 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4179, allocations: 4 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.4179, allocations: 11.94 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.418, allocations: 11.98 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.418, allocations: 4 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.774e-05/0.4181, allocations: 113.1 kB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4181, allocations: 0 / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004272/0.4186, allocations: 99.92 kB / 1.06 GB, free: 452 kB / 0.8106 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.0005146/0.4191, allocations: 199.1 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.4196, allocations: 217 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4196, allocations: 0 / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.4197, allocations: 59.92 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.4199, allocations: 7.938 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.4205, allocations: 316.1 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4209, allocations: 0.7048 MB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.4209, allocations: 19.44 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.4209, allocations: 0 / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.006733/0.4277, allocations: 3.101 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches