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.0009386/0.0009393, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007787/0.007787, allocations: 173.2 kB / 16.27 MB, free: 6.652 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.64/1.64, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.02/3.02, allocations: 443.3 MB / 0.7175 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003979, allocations: 8.781 kB / 0.8796 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4296, allocations: 155.2 MB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002016/0.4316, allocations: 1.202 MB / 1.032 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.4331, allocations: 0.7248 MB / 1.033 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.4332, allocations: 4 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.293e-05/0.4333, allocations: 11.92 kB / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.4334, allocations: 7.922 kB / 1.033 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.4345, allocations: 286.8 kB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.4348, allocations: 167.6 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.4349, allocations: 4 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.435, allocations: 55.91 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.4351, allocations: 63.69 kB / 1.034 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.4351, allocations: 4 kB / 1.034 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.4356, allocations: 239.7 kB / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.4357, allocations: 31.91 kB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4358, allocations: 85.41 kB / 1.034 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.4364, allocations: 287.6 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4364, allocations: 4 kB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4364, allocations: 0 / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4364, allocations: 0 / 1.034 GB, free: 1.164 MB / 0.7794 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.0006878/0.4371, allocations: 458.8 kB / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4371, allocations: 12.03 kB / 1.035 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.4372, allocations: 12.84 kB / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4375, allocations: 216 kB / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.4375, allocations: 4.375 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.4375, allocations: 12.38 kB / 1.035 GB, free: 384 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.4377, allocations: 98.66 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.4377, allocations: 192 / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4378, allocations: 15.88 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4378, allocations: 0 / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4379, allocations: 51.89 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.4382, allocations: 247.4 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4384, allocations: 111.9 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4385, allocations: 74.66 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4385, allocations: 0 / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.4388, allocations: 141.7 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.4388, allocations: 3.938 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0004405/0.4393, allocations: 213.4 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.4394, allocations: 114.8 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4395, allocations: 141.7 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.4395, allocations: 41.7 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.4396, allocations: 100.7 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.4397, allocations: 55.34 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.4397, allocations: 29.7 kB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4399, allocations: 322.8 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.44, allocations: 56.25 kB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4402, allocations: 172.5 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.4404, allocations: 138.5 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4405, allocations: 0 / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003227/0.4408, allocations: 201.3 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4408, allocations: 4.781 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.4408, allocations: 4 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4409, allocations: 4 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.441, allocations: 15.94 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.441, allocations: 3.984 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.4412, allocations: 55.8 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4413, allocations: 11.94 kB / 1.037 GB, free: 13.74 MB / 0.795 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.0001476/0.4414, allocations: 145.5 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.4414, allocations: 15.75 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.4415, allocations: 20.7 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4415, allocations: 144 / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4415, allocations: 7.984 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4415, allocations: 0 / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.4417, allocations: 209.5 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4417, allocations: 0 / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.4418, allocations: 8 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4418, allocations: 4 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4418, allocations: 4 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4418, allocations: 4 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.4418, allocations: 3.984 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.4421, allocations: 218.4 kB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4422, allocations: 92.95 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4422, allocations: 0 / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.4423, allocations: 19.86 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.4423, allocations: 11.98 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.4424, allocations: 4 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.4424, allocations: 108.7 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4424, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004085/0.4429, allocations: 99.98 kB / 1.038 GB, free: 12.68 MB / 0.795 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.0003497/0.4432, allocations: 211.3 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.4436, allocations: 221.9 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4436, allocations: 0 / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.4437, allocations: 55.92 kB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.4439, allocations: 9.547 kB / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.4444, allocations: 279.9 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4447, allocations: 0.7048 MB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.4447, allocations: 12.88 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.4448, allocations: 15.44 kB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.4448, allocations: 4 kB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of Templates: time 0.006728/0.4515, allocations: 2.932 MB / 1.042 GB, free: 8.207 MB / 0.795 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches