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.001713/0.001713, allocations: 106.7 kB / 16.41 MB, free: 6.512 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: 187 kB / 17.34 MB, free: 5.742 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.573/1.573, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.705/2.705, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 63.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.084, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002998/1.087, allocations: 1.486 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001327/1.089, allocations: 0.6929 MB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/1.089, allocations: 3.938 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/1.089, allocations: 7.922 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/1.089, allocations: 15.88 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/1.09, allocations: 350.4 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/1.091, allocations: 171.7 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/1.091, allocations: 4 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/1.091, allocations: 71.88 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/1.091, allocations: 55.7 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/1.091, allocations: 16 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/1.091, allocations: 239.8 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/1.091, allocations: 43.89 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/1.092, allocations: 55.72 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/1.092, allocations: 303.2 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.092, allocations: 0 / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/1.092, allocations: 4 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.092, allocations: 0 / 1.171 GB, free: 328 kB / 0.8887 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.0008407/1.093, allocations: 476.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.093, allocations: 8.625 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/1.093, allocations: 12.84 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/1.093, allocations: 220 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.093, allocations: 8.375 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/1.093, allocations: 8.375 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/1.094, allocations: 103.2 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.094, allocations: 192 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.094, allocations: 7.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.094, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/1.094, allocations: 47.97 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/1.094, allocations: 243.4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/1.094, allocations: 115.9 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.095, allocations: 70.61 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/1.095, allocations: 4 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/1.095, allocations: 147.2 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/1.095, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0004378/1.095, allocations: 213.4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/1.095, allocations: 114.8 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/1.096, allocations: 141.7 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/1.096, allocations: 33.7 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/1.096, allocations: 96.7 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/1.096, allocations: 59.27 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/1.096, allocations: 69.62 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.096, allocations: 326.8 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-05/1.096, allocations: 52.27 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/1.096, allocations: 186.3 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/1.097, allocations: 130.5 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.097, allocations: 0 / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003499/1.097, allocations: 201.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.097, allocations: 4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.097, allocations: 11.98 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.097, allocations: 0 / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.097, allocations: 19.88 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.097, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/1.097, allocations: 53.05 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/1.097, allocations: 4 kB / 1.174 GB, free: 12.86 MB / 0.9044 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.0001585/1.098, allocations: 148.1 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/1.098, allocations: 15.75 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/1.098, allocations: 12.72 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/1.098, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.098, allocations: 7.984 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.098, allocations: 4 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/1.098, allocations: 201.6 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.098, allocations: 0 / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/1.098, allocations: 11.98 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.098, allocations: 4 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.098, allocations: 0 / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.098, allocations: 4 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.098, allocations: 3.938 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/1.098, allocations: 218.5 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/1.098, allocations: 92.86 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.098, allocations: 4 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/1.098, allocations: 11.94 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/1.099, allocations: 11.98 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/1.099, allocations: 4 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.459e-05/1.099, allocations: 109.8 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/1.099, allocations: 4 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004079/1.099, allocations: 103.9 kB / 1.175 GB, free: 11.8 MB / 0.9044 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.0003922/1.099, allocations: 200.8 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003663/1.1, allocations: 222.3 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.1, allocations: 0 / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/1.1, allocations: 55.92 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/1.1, allocations: 11.98 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/1.101, allocations: 272.7 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/1.101, allocations: 0.7122 MB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/1.101, allocations: 19.44 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/1.101, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.006044/1.107, allocations: 3.112 MB / 1.179 GB, free: 7.145 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time