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.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.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.00908/0.00908, allocations: 103 kB / 15.73 MB, free: 6.051 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.001698/0.001698, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.156/3.156, allocations: 461.8 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 68.11 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4206, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003065/0.4238, allocations: 1.487 MB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.4251, allocations: 0.6889 MB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.4252, allocations: 4 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.4253, allocations: 7.938 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.4254, allocations: 19.78 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4266, allocations: 333.8 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.4269, allocations: 175.6 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.427, allocations: 11.97 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.4271, allocations: 75.78 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.4272, allocations: 47.81 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.4273, allocations: 12 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.4277, allocations: 255.7 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.4278, allocations: 36.41 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.4279, allocations: 59.72 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.4285, allocations: 303.3 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.4285, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4285, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.4285, allocations: 4 kB / 1.211 GB, free: 6.195 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.0008864/0.4294, allocations: 486.8 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.4295, allocations: 8.625 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.4295, allocations: 16.84 kB / 1.212 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.4299, allocations: 212 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4299, allocations: 4.375 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.4299, allocations: 12.38 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.4302, allocations: 100.7 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4302, allocations: 8.125 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.4303, allocations: 3.938 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4303, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.4304, allocations: 47.97 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.4308, allocations: 247.3 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4311, allocations: 107.9 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4312, allocations: 78.64 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4312, allocations: 0 / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.4315, allocations: 141.8 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.4315, allocations: 3.938 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0005499/0.4321, allocations: 209.5 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.4322, allocations: 118.8 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.4324, allocations: 144.7 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.4325, allocations: 41.69 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.4326, allocations: 104.6 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.4327, allocations: 51.36 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4328, allocations: 61.69 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.433, allocations: 326.8 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4331, allocations: 52.25 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.4334, allocations: 184.5 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.4336, allocations: 130.5 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4336, allocations: 0 / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003281/0.434, allocations: 197.3 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.434, allocations: 4 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/0.434, allocations: 4 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.4341, allocations: 7.938 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4342, allocations: 19.98 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.4342, allocations: 4 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.4345, allocations: 45.3 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4345, allocations: 8 kB / 1.214 GB, free: 2.73 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.000186/0.4347, allocations: 140 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4347, allocations: 19.75 kB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.4348, allocations: 12.72 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4348, allocations: 4 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4348, allocations: 0 / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4348, allocations: 0 / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.4351, allocations: 213.4 kB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4351, allocations: 4 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.4352, allocations: 8 kB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.4352, allocations: 0 / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.4352, allocations: 12.12 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4352, allocations: 7.938 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4352, allocations: 0 / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.4356, allocations: 214.6 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.4356, allocations: 88.92 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.4357, allocations: 7.984 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.4357, allocations: 7.938 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.4358, allocations: 11.98 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4358, allocations: 12 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.4359, allocations: 104.5 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.184e-06/0.4359, allocations: 3.938 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004639/0.4364, allocations: 103.9 kB / 1.215 GB, free: 1.672 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.0003837/0.4368, allocations: 199.4 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.4372, allocations: 222.2 kB / 1.215 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4372, allocations: 0 / 1.215 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4373, allocations: 59.92 kB / 1.216 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.4375, allocations: 20.55 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.4381, allocations: 248.6 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4385, allocations: 0.7084 MB / 1.216 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.704e-05/0.4386, allocations: 8.891 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.4386, allocations: 19.42 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.4386, allocations: 0 / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of Templates: time 0.007213/0.4458, allocations: 3.088 MB / 1.22 GB, free: 13.06 MB / 0.9825 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