Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 194.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.914/2.914, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.88 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 168.7 MB / 1.274 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00304/1.066, allocations: 1.488 MB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001353/1.067, allocations: 0.7139 MB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/1.068, allocations: 0 / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.394e-05/1.068, allocations: 11.92 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/1.068, allocations: 15.84 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/1.069, allocations: 340.7 kB / 1.277 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/1.069, allocations: 175.6 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.66e-05/1.069, allocations: 4 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/1.069, allocations: 71.88 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/1.069, allocations: 47.77 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/1.069, allocations: 15.98 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/1.07, allocations: 259.7 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/1.07, allocations: 39.91 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/1.07, allocations: 59.7 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/1.07, allocations: 301.8 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.07, allocations: 4 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/1.07, allocations: 7.875 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.508e-05/1.07, allocations: 0 / 1.277 GB, free: 1.062 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.0008489/1.071, allocations: 474.5 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.071, allocations: 12.03 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/1.071, allocations: 8.891 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/1.072, allocations: 214.2 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.072, allocations: 12.38 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/1.072, allocations: 12.36 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/1.072, allocations: 96.8 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.072, allocations: 192 / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/1.072, allocations: 7.938 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.072, allocations: 3.938 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/1.072, allocations: 43.97 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/1.072, allocations: 251.4 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/1.073, allocations: 103.8 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/1.073, allocations: 70.59 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/1.073, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/1.073, allocations: 137.8 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/1.073, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.000458/1.074, allocations: 213.5 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/1.074, allocations: 122.8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.074, allocations: 139.8 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/1.074, allocations: 41.7 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/1.074, allocations: 100.7 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/1.074, allocations: 55.53 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.074, allocations: 61.69 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.074, allocations: 322.8 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/1.074, allocations: 56.25 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/1.075, allocations: 176.5 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.075, allocations: 138.5 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.075, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003292/1.075, allocations: 201.4 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.075, allocations: 7.938 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.075, allocations: 8 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.075, allocations: 4 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/1.075, allocations: 11.94 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.075, allocations: 4 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/1.076, allocations: 47.83 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/1.076, allocations: 12 kB / 1.28 GB, free: 13.61 MB / 0.9825 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.000158/1.076, allocations: 132 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/1.076, allocations: 23.78 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/1.076, allocations: 20.7 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.076, allocations: 4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.076, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.076, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/1.076, allocations: 209.5 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.076, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/1.076, allocations: 12 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.076, allocations: 144 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.076, allocations: 4 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.076, allocations: 4 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.076, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/1.076, allocations: 222.5 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/1.077, allocations: 92.95 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/1.077, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/1.077, allocations: 11.92 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/1.077, allocations: 15.98 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/1.077, allocations: 4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.444e-05/1.077, allocations: 103.3 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.077, allocations: 0 / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004214/1.077, allocations: 103.8 kB / 1.281 GB, free: 12.56 MB / 0.9825 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.0003652/1.078, allocations: 203.4 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003803/1.078, allocations: 210.1 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.078, allocations: 4 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/1.078, allocations: 47.91 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/1.078, allocations: 16.17 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/1.079, allocations: 256.4 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.079, allocations: 0.7083 MB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.075e-05/1.079, allocations: 20.81 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/1.079, allocations: 19.44 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/1.079, allocations: 0 / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.008271/1.088, allocations: 3.144 MB / 1.286 GB, free: 7.906 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.587338965851814]