Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001312/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001454/0.001454, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.909/2.909, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 55.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003822/1.051, allocations: 1.548 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001427/1.052, allocations: 0.7281 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/1.053, allocations: 4 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/1.053, allocations: 3.984 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.894e-05/1.053, allocations: 15.86 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/1.054, allocations: 291.1 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/1.054, allocations: 163.6 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.048e-05/1.054, allocations: 11.97 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/1.054, allocations: 67.77 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/1.055, allocations: 47.81 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/1.055, allocations: 12 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/1.055, allocations: 235.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/1.055, allocations: 31.91 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/1.055, allocations: 59.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/1.056, allocations: 301.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.056, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/1.056, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.056, allocations: 0 / 1.02 GB, free: 15.3 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.0008245/1.057, allocations: 475 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.057, allocations: 8.031 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/1.057, allocations: 16.75 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/1.057, allocations: 209.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/1.057, allocations: 4.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/1.057, allocations: 16.31 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/1.058, allocations: 100.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.058, allocations: 192 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/1.058, allocations: 11.92 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.058, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/1.058, allocations: 47.91 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/1.058, allocations: 255.2 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.058, allocations: 107.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/1.058, allocations: 70.61 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.058, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/1.059, allocations: 137.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/1.059, allocations: 7.938 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004754/1.059, allocations: 222.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/1.059, allocations: 110.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/1.059, allocations: 143.2 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/1.06, allocations: 37.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/1.06, allocations: 92.7 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/1.06, allocations: 67.19 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.06, allocations: 65.62 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.06, allocations: 330.8 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-05/1.06, allocations: 48.12 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/1.06, allocations: 186.3 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/1.061, allocations: 126.7 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.061, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003582/1.061, allocations: 209.2 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.061, allocations: 10.28 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.061, allocations: 7.984 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.061, allocations: 4 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/1.061, allocations: 8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.061, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/1.061, allocations: 47.8 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/1.061, allocations: 12 kB / 1.023 GB, free: 11.83 MB / 0.7794 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.0001661/1.062, allocations: 136.5 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/1.062, allocations: 19.98 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/1.062, allocations: 16.69 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.062, allocations: 4 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.062, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.062, allocations: 4 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/1.062, allocations: 205.5 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.062, allocations: 7.984 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/1.062, allocations: 11.94 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.062, allocations: 0 / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/1.062, allocations: 8 kB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.062, allocations: 3.938 kB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.062, allocations: 0 / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.062, allocations: 218.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/1.062, allocations: 88.95 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/1.062, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/1.063, allocations: 11.92 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/1.063, allocations: 8 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.063, allocations: 7.984 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.041e-05/1.063, allocations: 107.2 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.063, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006047/1.063, allocations: 99.92 kB / 1.024 GB, free: 10.78 MB / 0.7794 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.0003894/1.064, allocations: 207.4 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003508/1.064, allocations: 209 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.064, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/1.064, allocations: 59.86 kB / 1.024 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/1.064, allocations: 7.984 kB / 1.024 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/1.065, allocations: 278.4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/1.065, allocations: 0.7204 MB / 1.025 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.222e-05/1.066, allocations: 8.875 kB / 1.025 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/1.066, allocations: 15.44 kB / 1.025 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/1.066, allocations: 0 / 1.025 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.008069/1.074, allocations: 2.948 MB / 1.028 GB, free: 6.289 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches