Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.623/3.623, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 66.81 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4724, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002894/0.4753, allocations: 1.486 MB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4765, allocations: 0.6278 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.4765, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.12e-05/0.4766, allocations: 7.922 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.4767, allocations: 15.86 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.4778, allocations: 359.4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.478, allocations: 175.6 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.4781, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.4782, allocations: 67.89 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.4783, allocations: 47.77 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.4783, allocations: 12 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.4788, allocations: 279.6 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.4789, allocations: 43.84 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.4789, allocations: 51.77 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.4795, allocations: 315 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4795, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4795, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4795, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 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.000795/0.4803, allocations: 399 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4803, allocations: 12.03 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.4804, allocations: 12.88 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.4806, allocations: 156.3 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4807, allocations: 8.375 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.4807, allocations: 12.38 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.4809, allocations: 96.78 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4809, allocations: 8.125 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4809, allocations: 7.938 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4809, allocations: 3.938 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.481, allocations: 47.97 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.4813, allocations: 167.1 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4815, allocations: 99.86 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4816, allocations: 70.66 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.4817, allocations: 3.938 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.482, allocations: 137.9 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.482, allocations: 0 / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.000493/0.4825, allocations: 213.4 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.4826, allocations: 118.8 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4827, allocations: 143.1 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.4828, allocations: 33.7 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4829, allocations: 104.6 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.483, allocations: 51.59 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.4831, allocations: 61.62 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.4833, allocations: 326.8 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.4834, allocations: 60.25 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.4839, allocations: 463.2 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4841, allocations: 130.6 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4841, allocations: 0 / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003536/0.4845, allocations: 205.5 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4845, allocations: 4 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.4845, allocations: 4 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.4845, allocations: 7.984 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4847, allocations: 19.86 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4847, allocations: 4 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.4849, allocations: 47.84 kB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4849, allocations: 8.938 kB / 1.37 GB, free: 6.598 MB / 1.061 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.0001889/0.4851, allocations: 136.4 kB / 1.37 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.4851, allocations: 19.83 kB / 1.37 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.4852, allocations: 16.72 kB / 1.37 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4852, allocations: 4 kB / 1.37 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4852, allocations: 0 / 1.37 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4852, allocations: 0 / 1.37 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.4854, allocations: 145.2 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4854, allocations: 4 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.4855, allocations: 11.98 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4855, allocations: 3.938 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.4855, allocations: 4 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4855, allocations: 0 / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4855, allocations: 4 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.4858, allocations: 207.7 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4859, allocations: 23.83 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4859, allocations: 4 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.4859, allocations: 8 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.486, allocations: 19.92 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.486, allocations: 7.984 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001014/0.4861, allocations: 104.8 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4861, allocations: 0 / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003845/0.4865, allocations: 99.8 kB / 1.371 GB, free: 5.723 MB / 1.061 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.000406/0.4869, allocations: 211.1 kB / 1.371 GB, free: 5.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.4873, allocations: 201 kB / 1.371 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4873, allocations: 0 / 1.371 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.4874, allocations: 56.05 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.4876, allocations: 15.98 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.4882, allocations: 248.8 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4883, allocations: 92.48 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.4884, allocations: 12.97 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.4884, allocations: 19.44 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4884, allocations: 3.938 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of Templates: time 0.007407/0.4958, allocations: 3.303 MB / 1.375 GB, free: 1.559 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.027094878256321]