Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001498/0.001498, allocations: 103.7 kB / 15.98 MB, free: 6.355 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.001526/0.001526, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 72.5 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002679/0.333, allocations: 1.544 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.334, allocations: 0.6969 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.3341, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.113e-05/0.3342, allocations: 7.922 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.3343, allocations: 11.92 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.3351, allocations: 310.9 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.3353, allocations: 171.6 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.3354, allocations: 8 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.3355, allocations: 67.78 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.3356, allocations: 51.81 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.3356, allocations: 12 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.3359, allocations: 251.7 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.336, allocations: 39.91 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.3361, allocations: 71.69 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3364, allocations: 211.8 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.3364, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3364, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3364, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 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.0006256/0.3371, allocations: 471 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.3371, allocations: 8.031 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3372, allocations: 12.84 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3374, allocations: 208.1 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3374, allocations: 12.31 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3374, allocations: 16.36 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3376, allocations: 107 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3376, allocations: 192 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3377, allocations: 7.875 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3377, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.3378, allocations: 39.97 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.3381, allocations: 251.4 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3382, allocations: 103.9 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.3383, allocations: 74.59 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.3383, allocations: 8 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.3386, allocations: 133.8 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.3386, allocations: 3.938 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0004001/0.339, allocations: 213.5 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.3391, allocations: 118.8 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3392, allocations: 141.7 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3393, allocations: 33.7 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3393, allocations: 100.6 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.3394, allocations: 59.28 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.3395, allocations: 61.69 kB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3397, allocations: 326.8 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.3398, allocations: 48.25 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.34, allocations: 190.2 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3402, allocations: 138.5 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3402, allocations: 8 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002981/0.3405, allocations: 197.3 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3405, allocations: 7.938 kB / 1.07 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.3406, allocations: 4 kB / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3406, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.3407, allocations: 12.14 kB / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3407, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.3409, allocations: 51.78 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3409, allocations: 8 kB / 1.071 GB, free: 8.219 MB / 0.8419 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.0001264/0.3411, allocations: 144.7 kB / 1.071 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3411, allocations: 19.75 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3411, allocations: 16.7 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3411, allocations: 0 / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3411, allocations: 4 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3411, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3413, allocations: 209.5 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3413, allocations: 3.938 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.3414, allocations: 8 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3414, allocations: 8 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3414, allocations: 4 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3414, allocations: 7.938 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3414, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3417, allocations: 211.8 kB / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.3418, allocations: 89.02 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.3418, allocations: 4 kB / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.3419, allocations: 15.92 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3419, allocations: 7.984 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.342, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.05e-05/0.342, allocations: 109.4 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.342, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003345/0.3424, allocations: 107.9 kB / 1.071 GB, free: 7.168 MB / 0.8419 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.0003155/0.3427, allocations: 205.1 kB / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.3431, allocations: 225.8 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3431, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3432, allocations: 55.92 kB / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.3433, allocations: 13.28 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.3439, allocations: 306.8 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3442, allocations: 0.7161 MB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.3442, allocations: 15.44 kB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3442, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.0051/0.3494, allocations: 3.114 MB / 1.076 GB, free: 2.469 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches